diff options
author | feld <feld@feld.me> | 2020-10-15 20:21:57 +0000 |
---|---|---|
committer | feld <feld@feld.me> | 2020-10-15 20:21:57 +0000 |
commit | 5703fb6d2a5f9fcffe050eadbc43758bcd2efa14 (patch) | |
tree | a9167edcdd5c956490fa0886901427c5423540c6 /docs/installation/otp_en.md | |
parent | b48724afcdd9d46d6533aafdea4df1cc2d23b6ae (diff) | |
parent | 2030ffd4904b6ab5e99cefa62887154a49aaf4db (diff) | |
download | pleroma-5703fb6d2a5f9fcffe050eadbc43758bcd2efa14.tar.gz pleroma-5703fb6d2a5f9fcffe050eadbc43758bcd2efa14.zip |
Merge branch 'issue/2009' into 'develop'
[#2009] fixed install docs (release env)
See merge request pleroma/pleroma!2854
Diffstat (limited to 'docs/installation/otp_en.md')
-rw-r--r-- | docs/installation/otp_en.md | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/docs/installation/otp_en.md b/docs/installation/otp_en.md index 62d4c8a72..676b10699 100644 --- a/docs/installation/otp_en.md +++ b/docs/installation/otp_en.md @@ -149,6 +149,9 @@ chown -R pleroma /etc/pleroma # Run the config generator su pleroma -s $SHELL -lc "./bin/pleroma_ctl instance gen --output /etc/pleroma/config.exs --output-psql /tmp/setup_db.psql" +# Run the environment file generator. +su pleroma -s $SHELL -lc "./bin/pleroma_ctl release_env gen" + # Create the postgres database su postgres -s $SHELL -lc "psql -f /tmp/setup_db.psql" @@ -159,7 +162,7 @@ su pleroma -s $SHELL -lc "./bin/pleroma_ctl migrate" # su pleroma -s $SHELL -lc "./bin/pleroma_ctl migrate --migrations-path priv/repo/optional_migrations/rum_indexing/" # Start the instance to verify that everything is working as expected -su pleroma -s $SHELL -lc "./bin/pleroma daemon" +su pleroma -s $SHELL -lc "export $(cat /opt/pleroma/config/pleroma.env); ./bin/pleroma daemon" # Wait for about 20 seconds and query the instance endpoint, if it shows your uri, name and email correctly, you are configured correctly sleep 20 && curl http://localhost:4000/api/v1/instance @@ -311,4 +314,3 @@ This will create an account withe the username of 'joeuser' with the email addre ## Questions Questions about the installation or didn’t it work as it should be, ask in [#pleroma:matrix.org](https://matrix.heldscal.la/#/room/#freenode_#pleroma:matrix.org) or IRC Channel **#pleroma** on **Freenode**. - |