This is a code name duo app I built to try out Elixir and the phoenix framework. It is not live anymore.
To start your Phoenix server:
- Install dependencies with
mix deps.get
- Create and migrate your database with
mix ecto.setup
- Install Node.js dependencies with
npm install
inside theassets
directory - Start Phoenix endpoint with
mix phx.server
Now you can visit localhost:4000
from your browser.
The app is deployed thanks to gigalixir at the following address: https://code-name-duo.gigalixirapp.com/.
Console to monitor the app: https://console.gigalixir.com/#/apps/code-name-duo
Useful commands:
- Push to production:
git push gigalixir
- Run migrations:
gigalixir run mix ecto.migrate
- Run seeds:
gigalixir run -- mix run priv/repo/seeds.exs
- See logs:
gigalixir logs
- Open app:
gigalixir open
Docs used to deploy:
TODO: change server to europe central