elixir-http-base/readme.md

29 lines
330 B
Markdown
Raw Normal View History

2020-12-16 13:24:50 -06:00
# elixir-http-base
An opinionated, fairly minimal base for an Elixir HTTP server application.
2020-12-16 10:35:31 -06:00
## Develop
```bash
iex -S mix
```
2020-12-17 11:51:19 -06:00
## Test
2020-12-16 10:35:31 -06:00
```bash
mix test
```
2020-12-17 15:23:16 -06:00
## Generate Release
```bash
MIX_ENV=prod mix release
```
## Deploy
```bash
rsync -r ./build/rel/ $YOUR_HOST:~/my-app
ssh $YOUR_HOST ~/my-app/bin/lytedev daemon
```