commit: 595da6080dc12675eb7673a3190b88ad5a3712ed
parent 2f6bbd53b5b2da2bf1e3e396b8edbe23c5345b81
Author: Maksim Pechnikov <parallel588@gmail.com>
Date: Wed, 5 Aug 2020 19:04:12 +0300
fixed install docs
Diffstat:
1 file changed, 5 insertions(+), 0 deletions(-)
diff --git a/docs/installation/debian_based_en.md b/docs/installation/debian_based_en.md
@@ -101,6 +101,10 @@ sudo -Hu pleroma mix deps.get
mv config/{generated_config.exs,prod.secret.exs}
```
+* Generate the environment file: `sudo -Hu pleroma mix pleroma.release_env gen`
+ * Input path to env file or keep default value `./config/pleroma.env`
+
+
* The previous command creates also the file `config/setup_db.psql`, with which you can create the database:
```shell
@@ -181,6 +185,7 @@ sudo cp /opt/pleroma/installation/pleroma.service /etc/systemd/system/pleroma.se
```
* Edit the service file and make sure that all paths fit your installation
+* Check that `EnvironmentFile` contains the correct path to the env file. Or generate the env file: `sudo -Hu pleroma mix pleroma.release_env gen`
* Enable and start `pleroma.service`:
```shell