mirror of
https://github.com/zulip/zulip.git
synced 2025-11-02 04:53:36 +00:00
install: Script the install process more fully.
We can probably later merge the create-database code with that of our internal do-destroy-rebuild-database. (imported from commit 323932dbf2eb916545d6ebdda70eb1f5e1abb181)
This commit is contained in:
@@ -38,17 +38,19 @@ ln -nsf /etc/zulip/settings.py /root/zulip/zproject/local_settings.py
|
||||
|
||||
/root/zulip/scripts/setup/configure-rabbitmq
|
||||
|
||||
chown zulip:zulip /var/run/supervisor.sock
|
||||
/root/zulip/scripts/setup/postgres-init-db
|
||||
/root/zulip/scripts/setup/create-database
|
||||
|
||||
deploy_path=$($(dirname $(dirname $0))/unpack-zulip "$tarball")
|
||||
ln -nsf "$deploy_path" /home/zulip/deployments/current
|
||||
chown -R zulip:zulip /home/zulip/deployments
|
||||
|
||||
chown zulip:zulip /var/run/supervisor.sock
|
||||
supervisorctl restart all
|
||||
|
||||
set +x
|
||||
cat <<EOF
|
||||
|
||||
Done.
|
||||
|
||||
Now do the next step!
|
||||
|
||||
EOF
|
||||
|
||||
Reference in New Issue
Block a user