If this is your first time starting the API, you will also need to create/seed a local database:
-
docker-compose run web mix ecto.setup -
docker-compose up
Install ASDF and add elixir plugin:
- https://asdf-vm.com/#/core-manage-asdf-vm
asdf plugin add erlangasdf plugin add elixir
Run these commands to get the dependencies set up:
asdf installdocker-compose up -d dbmix deps.get
If this is your first time starting the API, you will also need to create/seed a local database:
mix ecto.setup
install and start redis (caching engine):
brew install redisbrew services start redis
Start the phoenix server:
mix phx.server