A distributed drawing game to promote writing creativity.
To start your Phoenix server:
- Run
mix setup
to install and setup dependencies - Start Phoenix endpoint with
mix phx.server
or inside IEx withiex -S mix phx.server
Run mix test
to run local tests.
# explicitly set there to be one running instance of app
fly scale count 1
# show recent logs
fly logs
# attempt to evaluate the Dockerfile on a Fly VM and run the code (handles attaching to DB and migration)
fly deploy
# list digests of configured secrets
fly secrets list
# configure a new secret (requires a deploy to take effect)
fly secrets set FOO=bar
- Created with:
mix phx.new unprompted --no-mailer
- Installing deps:
mix setup
- Dev database creation:
mix ecto.create
Fly.toml
andDockerfile
created withfly launch
- Postgres Fly app created with ...
- Postgres Fly app "attached" with ... (handles setting
DATABASE_URL
secret)