Registration System for COVID-19 Vaccine
Go to the directory where docker-compose.yml is located, i.e. ($ cd $USER/workspace/egcovac)
docker-compose build
docker-compose up
- If you git this error
[error] Postgrex.Protocol (#PID<0.3932.0>) failed to connect: ** (Postgrex.Error) FATAL 3D000 (invalid_catalog_name) database "myapp_dev" does not exist
- Stop container
CTRL+C
- Run
docker-compose run web mix ecto.create
- Then
docker-compose up
docker exec -it egcovac_web_1 /bin/bash
iex -S mix
Now you can visit localhost:4000
from your browser.
Ready to run in production? Please check our deployment guides.
- Official website: https://www.phoenixframework.org/
- Guides: https://hexdocs.pm/phoenix/overview.html
- Docs: https://hexdocs.pm/phoenix
- Forum: https://elixirforum.com/c/phoenix-forum
- Source: https://github.com/phoenixframework/phoenix