An opinionated, fairly minimal base for an Elixir HTTP server application.
Find a file
2020-12-28 09:39:49 -06:00
src Add credo and dialyzer 2020-12-28 09:39:49 -06:00
.gitignore Update project to be opinionated about docs output dir 2020-12-16 17:36:13 -06:00
mix.exs Add credo and dialyzer 2020-12-28 09:39:49 -06:00
mix.lock Add credo and dialyzer 2020-12-28 09:39:49 -06:00
readme.md Add credo and dialyzer 2020-12-28 09:39:49 -06:00

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