* Install some of the above mentioned programs:
```shell
-sudo apt install git build-essential postgresql postgresql-contrib cmake libmagic-devel
+sudo apt install git build-essential postgresql postgresql-contrib cmake libmagic-dev
```
### Install Elixir and Erlang
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:
```
* 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