Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Setting up a local instance failled #792

Open
daxid opened this issue Sep 14, 2023 · 3 comments
Open

Setting up a local instance failled #792

daxid opened this issue Sep 14, 2023 · 3 comments

Comments

@daxid
Copy link

daxid commented Sep 14, 2023

Hi,

I tried to setup a local instance of Madoc for testing purpose by following the contributing guide.

When I try to launch Madoc I end up with the following :

image

And nothing is accessible at http://localhost:8888/

Any idea of what is going wrong ?

Alternatively, is there a docker-compose that could work locally ? The one provided with default confing complains about certificates (as it should for production !)

Best regards

@stephenwf
Copy link
Member

If you want to get something up and running quickly to test, you can use this stand-alone configuration:
https://github.com/digirati-co-uk/madoc-config

There are a few things that need to be built locally for a development environment. I will try and dig out the documentation we created for setting up a local environment that you can change code on.

@daxid
Copy link
Author

daxid commented Sep 26, 2023

Thanks for your pointer @stephenwf

The installation code should be password for the standalone instance, but I keep getting Invalid code

I have the following warnings when launching (I think the first one is relevant) :
image

@stephenwf
Copy link
Member

There's a quick node script that you can use to generate a new code:
https://github.com/digirati-co-uk/madoc-config/blob/main/tools/install-code.js

Which you can add to the docker compose / env

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants