Docs: use `MIX_ENV=prod mix pleroma.instance gen`
[akkoma] / docs / installation / arch_linux_en.md
index da78c3205f86ba5bb05a40494f474f9c538cbd80..53afccc0f745baa347a5ef24bdc9005e69406dd2 100644 (file)
@@ -92,7 +92,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`.