diff options
author | lain <lain@soykaf.club> | 2020-11-04 15:05:01 +0100 |
---|---|---|
committer | lain <lain@soykaf.club> | 2020-11-04 15:05:01 +0100 |
commit | 329aa19c9f1175f915441c84689860155949bb08 (patch) | |
tree | 17a92069fdb2f49d2f82efdabf3bec1e20822508 /docs/installation/debian_based_en.md | |
parent | 755f58168bb2b6b979c6f5d36f7eff56d2305911 (diff) | |
parent | bc4d9c4ffc9ccd826220893a97ce695e4bb66f9d (diff) | |
download | pleroma-329aa19c9f1175f915441c84689860155949bb08.tar.gz |
Merge branch 'develop' of git.pleroma.social:pleroma/pleroma into alexgleason/pleroma-restrict-domain
Diffstat (limited to 'docs/installation/debian_based_en.md')
-rw-r--r-- | docs/installation/debian_based_en.md | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/docs/installation/debian_based_en.md b/docs/installation/debian_based_en.md index eac499a29..b9fc4e112 100644 --- a/docs/installation/debian_based_en.md +++ b/docs/installation/debian_based_en.md @@ -10,6 +10,7 @@ This guide will assume you are on Debian Stretch. This guide should also work wi * `elixir` (1.8+, Follow the guide to install from the Erlang Solutions repo or use [asdf](https://github.com/asdf-vm/asdf) as the pleroma user) * `erlang-dev` * `erlang-nox` +* `libmagic-dev` * `git` * `build-essential` * `cmake` @@ -34,7 +35,7 @@ sudo apt full-upgrade * Install some of the above mentioned programs: ```shell -sudo apt install git build-essential postgresql postgresql-contrib cmake +sudo apt install git build-essential postgresql postgresql-contrib cmake libmagic-devel ``` ### Install Elixir and Erlang @@ -100,6 +101,7 @@ sudo -Hu pleroma mix deps.get mv config/{generated_config.exs,prod.secret.exs} ``` + * The previous command creates also the file `config/setup_db.psql`, with which you can create the database: ```shell @@ -180,6 +182,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 |