An opinionated, fairly minimal base for an Elixir HTTP server application.
Go to file
Daniel Flanagan 8da66b746d
Add credo and dialyzer
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

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