Docs: use `MIX_ENV=prod mix pleroma.instance gen`
[akkoma] / docs / installation / alpine_linux_en.md
index 7eb1718f2f94f68923f65deb476eb3d9bb3e9da7..c2dbd836d753f8b200d147dac50285c784be75bb 100644 (file)
@@ -117,7 +117,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`.