update readme

master
Rachel Fae Fox 2022-11-10 14:51:02 -05:00
parent ad816092b1
commit 9e85ec0de3
1 changed files with 7 additions and 5 deletions

View File

@ -4,7 +4,7 @@ Relay your discord server to irc via avian carrier.
## Installation ## Installation
you need to configure this with a dev.exs like such you need to configure this with a dev.exs / prod.exs like such
```elixir ```elixir
import Config import Config
@ -32,13 +32,15 @@ config :nostrum,
``` ```
## Running ## Running
This is still in heavy development so i haven't handled running it as ```shell
a release or anything special like that you can still run it with iex. $ MIX_ENV="prod" mix run --no-halt
```
if you're going to be hacking on it, or want the ability to update without restarting, I recommend you run it in iex.
```shell ```shell
$ iex -S mix $ iex -S mix
``` ```
This does have advantages, for example, if you need to upgrade your to update your bot while running in iex just type `recompile`.
bot you can just type `recompile` and update it without restarting.