Docs: use MIX_ENV=prod mix pleroma.instance gen

This commit is contained in:
Alex Gleason 2021-05-16 12:20:20 -05:00
commit b540fff908
No known key found for this signature in database
GPG key ID: 7211D1F99744FBB7
8 changed files with 16 additions and 16 deletions

View file

@ -90,7 +90,7 @@ cd /opt/pleroma
sudo -Hu pleroma mix deps.get
```
* Generate the configuration: `sudo -Hu pleroma mix pleroma.instance gen`
* Generate the configuration: `sudo -Hu pleroma MIX_ENV=prod mix pleroma.instance gen`
* Answer with `yes` if it asks you to install `rebar3`.
* This may take some time, because parts of pleroma get compiled first.
* After that it will ask you a few questions about your instance and generates a configuration file in `config/generated_config.exs`.