src | ||
.gitignore | ||
mix.exs | ||
mix.lock | ||
readme.md |
elixir-http-base
An opinionated, fairly minimal base for an Elixir HTTP server application.
Develop
iex -S mix
Lint
mix dialyzer
mix credo --strict
Test
mix test
Generate Release
MIX_ENV=prod mix release
Deploy
rsync -r build/rel/ $YOUR_HOST:~/my-app
ssh $YOUR_HOST PORT=80 ~/my-app/bin/lytedev daemon