To start Archive Annotation:
- Run
docker compose up
to start the database - Run
mix setup
to install and setup dependencies - Start Phoenix endpoint with
mix phx.server
or 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.prod
and add all the enivorment variables listed in theenv.test
file. - In the
config/runtime.exs
file, change the Endpointscheme
fromhttps
tohttp
on this line - Start the database and build the docker image via the
docker-compose.prod.yml
file. Run:
docker-compose -f docker-compose.prod.yml up
- You will now be able to access the site at
localhost:4000
from your browser.