projects
/
akkoma
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
d1d648b
)
Execute migration commands as the pleroma user and add a note about the need to uncom...
author
rinpatch
<rinpatch@sdf.org>
Fri, 21 Jun 2019 23:20:55 +0000
(
02:20
+0300)
committer
rinpatch
<rinpatch@sdf.org>
Fri, 21 Jun 2019 23:21:02 +0000
(
02:21
+0300)
docs/installation/releases_en.md
patch
|
blob
|
history
diff --git
a/docs/installation/releases_en.md
b/docs/installation/releases_en.md
index 10d8879afecafb8fceb6410c8388d4ccd21f6463..31e3ac30db68a7a979237551f78d4dce6e3e93b5 100644
(file)
--- a/
docs/installation/releases_en.md
+++ b/
docs/installation/releases_en.md
@@
-114,20
+114,20
@@
su postgres -s $SHELL -lc "psql -f /tmp/setup_db.psql"
# to the end of /etc/pleroma/config.exs before proceeding
# Create the database schema
# to the end of /etc/pleroma/config.exs before proceeding
# Create the database schema
-./bin/pleroma_ctl create
-./bin/pleroma_ctl migrate
+su pleroma -s $SHELL -lc "./bin/pleroma_ctl create"
+su pleroma -s $SHELL -lc "./bin/pleroma_ctl migrate"
-# If you have installed RUM indexes
also
run
-#
./bin/pleroma_ctl migrate --migrations-path priv/repo/optional_migrations/rum_indexing/
+# If you have installed RUM indexes
uncommend and
run
+#
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
# Start the instance to verify that everything is working as expected
-./bin/pleroma daemon
+su pleroma -s $SHELL -lc "./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
# Stop the instance
# 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
# Stop the instance
-./bin/pleroma stop
+su pleroma -s $SHELL -lc "./bin/pleroma stop"
```
### Setting up nginx and getting Let's Encrypt SSL certificaties
```
### Setting up nginx and getting Let's Encrypt SSL certificaties