Add notes on RUM indexes

This commit is contained in:
rinpatch 2019-06-21 06:22:34 +03:00
parent f9515a3611
commit 4669a56aa3
1 changed files with 7 additions and 0 deletions

View File

@ -110,10 +110,17 @@ su pleroma -s $SHELL -lc "./bin/pleroma_ctl instance gen --output /etc/pleroma/c
# Create the postgres database
psql -U postgres -d postgres -f /tmp/setup_db.psql
# If you have installed RUM indexes add
# `config :pleroma, :database, rum_enabled: true`
# to the end of /etc/pleroma/config.exs before proceeding
# Create the database schema
./bin/pleroma_ctl create
./bin/pleroma_ctl migrate
# If you have installed RUM indexes also run
./bin/pleroma_ctl migrate --migrations-path priv/repo/optional_migrations/rum_indexing/
# Start the instance to verify that everything is working as expected
./bin/pleroma daemon