Update installation instructions to include configuring the app.

(imported from commit 89395815c32416ec0636efcff12eb76f5d890bbd)
This commit is contained in:
Tim Abbott
2013-11-12 23:38:54 -05:00
parent e877536de5
commit 6bcd5a7ffc
4 changed files with 53 additions and 6 deletions

View File

@@ -43,16 +43,19 @@ ln -nsf /etc/zulip/settings.py /root/zulip/zproject/local_settings.py
deploy_path=$($(dirname $(dirname $0))/unpack-zulip "$tarball")
ln -nsf "$deploy_path" /home/zulip/deployments/current
chown -R zulip:zulip /home/zulip/deployments /var/log/zulip
chown zulip:zulip /var/run/supervisor.sock
cd /home/zulip/deployments/current
su zulip -c /home/zulip/deployments/current/scripts/setup/create-database
chown zulip:zulip /var/run/supervisor.sock
supervisorctl restart all
set +x
cat <<EOF
Done.
Installation complete!
Now edit /etc/zulip/settings.py and fill in the mandatory values.
Once you've done that, please run:
su zulip -c /home/zulip/deployments/current/scripts/setup/initialize-database
EOF