To start your Phoenix app:
- Install dependencies with
mix deps.get
- Add the necessary variables to your environment
- Create and migrate your database with
mix ecto.create && mix ecto.migrate
- Start Phoenix endpoint with
mix server
Use your preferred method to add the following variables to your environment.
Variable | Description | Environments |
---|---|---|
DB_URL | Postgresql database url | All |
SECRET_KEY_BASE | Secret key base | All |
UPSTREAM_URL | URL of the upstream tree service | All |