diff options
author | Rin Toshaka <rinpatch@sdf.org> | 2018-12-06 18:45:07 +0100 |
---|---|---|
committer | Rin Toshaka <rinpatch@sdf.org> | 2018-12-06 18:45:07 +0100 |
commit | f5726a2e12102fd0742a767e508fcd4ac9406a09 (patch) | |
tree | a10d03823fb3a3967916c167eb699d4439eaec8a | |
parent | 71d5cf9ed86089bb2e5b280c462759590307b94d (diff) | |
download | pleroma-f5726a2e12102fd0742a767e508fcd4ac9406a09.tar.gz pleroma-f5726a2e12102fd0742a767e508fcd4ac9406a09.zip |
Update README.md
-rw-r--r-- | README.md | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -37,7 +37,7 @@ While we don't provide docker files, other people have written very good ones. T * Run `mix deps.get` to install elixir dependencies. - * Run `mix pleroma.gen.instance`. This will ask you questions about your instance and generate a configuration file in `config/generated_config.exs`. Check that and copy it to either `config/dev.secret.exs` or `config/prod.secret.exs`. It will also create a `config/setup_db.psql`, which you should run as the PostgreSQL superuser (i.e., `sudo -u postgres psql -f config/setup_db.psql`). It will create the database, user, and password you gave `mix pleroma.gen.instance` earlier, as well as set up the necessary extensions in the database. PostgreSQL superuser privileges are only needed for this step. + * Run `mix pleroma.instance gen`. This will ask you questions about your instance and generate a configuration file in `config/generated_config.exs`. Check that and copy it to either `config/dev.secret.exs` or `config/prod.secret.exs`. It will also create a `config/setup_db.psql`, which you should run as the PostgreSQL superuser (i.e., `sudo -u postgres psql -f config/setup_db.psql`). It will create the database, user, and password you gave `mix pleroma.gen.instance` earlier, as well as set up the necessary extensions in the database. PostgreSQL superuser privileges are only needed for this step. * For these next steps, the default will be to run pleroma using the dev configuration file, `config/dev.secret.exs`. To run them using the prod config file, prefix each command at the shell with `MIX_ENV=prod`. For example: `MIX_ENV=prod mix phx.server`. Documentation for the config can be found at [``config/config.md``](config/config.md) |