digirati-co-uk / madoc-platform

A platform for the display, enrichment, and curation of IIIF-based digital objects
https://docs.madoc.io
MIT License
52 stars 14 forks source link

Setting up a local instance failled #792

Open daxid opened 1 year ago

daxid commented 1 year ago

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 commented 1 year ago

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 commented 1 year ago

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 commented 1 year ago

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