An opinionated, fairly minimal base for an Elixir HTTP server application.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
Daniel Flanagan 8da66b746d
Add credo and dialyzer
1 month ago
src Add credo and dialyzer 1 month ago
.gitignore Update project to be opinionated about docs output dir 1 month ago
mix.exs Add credo and dialyzer 1 month ago
mix.lock Add credo and dialyzer 1 month ago
readme.md Add credo and dialyzer 1 month ago

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