Skip to content

Latest commit

 

History

History
43 lines (29 loc) · 1.19 KB

README.md

File metadata and controls

43 lines (29 loc) · 1.19 KB

Egcovac

Registration System for COVID-19 Vaccine

Quick Guide for local development setup

Upping your services which you composed with docker-compose

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

To enter to docker container

docker exec -it egcovac_web_1 /bin/bash

To use Elixir console in the docker container run

iex -S mix

Now you can visit localhost:4000 from your browser.

Ready to run in production? Please check our deployment guides.

Learn more