An opinionated, fairly minimal base for an Elixir HTTP server application.
Go to file
Daniel Flanagan c08da35f0a
Update
2021-07-13 02:30:22 -05:00
src Update 2021-07-13 02:30:22 -05:00
.gitignore Update project to be opinionated about docs output dir 2020-12-16 17:36:13 -06:00
mix.exs Update 2021-07-13 02:30:22 -05:00
mix.lock Update 2021-07-13 02:30:22 -05: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