To start Archive Annotation:
- Run
docker compose upto start the database - Run
mix setupto install and setup dependencies - Start Phoenix endpoint with
mix phx.serveror inside IEx withiex -S mix phx.server
Now you can visit localhost:4000 from your browser.
Ready to run in production? Please check our deployment guides.
- Create a file called
env.prodand add all the enivorment variables listed in theenv.testfile. - In the
config/runtime.exsfile, change the Endpointschemefromhttpstohttpon this line - Start the database and build the docker image via the
docker-compose.prod.ymlfile. Run:
docker-compose -f docker-compose.prod.yml up- You will now be able to access the site at
localhost:4000from your browser.