elixir-http-base/readme.md

36 lines
390 B
Markdown

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