forked from hhucn/adhocracy.hhu_theme
-
Notifications
You must be signed in to change notification settings - Fork 0
Install normsetzungs server
phihag edited this page Jan 30, 2013
·
13 revisions
These instructions are only valid for the setup at HHU Düsseldorf. However, feel free to ask us for a template of the (rather simple) installation/update scripts.
Log in to the server with
ssh normsetzung-adhocracy1.cn.uni-duesseldorf.de
(or adhocracy-2; switch as required)
Make sure MySQL instances are installed and connected.
Run first_installation.sh
from the normsetzung-server-config repository (copying into the shell is fine). Continue below to "update" the system from nothing to the current state.
(TODO @phihag: Move instructions to script)
sudo su adhocracy
sh build_debian.sh -s -c buildout_normsetzung.cfg -b hhu
# Update the source
(cd adhocracy_buildout/src/adhocracy && git pull)
(cd adhocracy_buildout/src/adhocracy.hhu_theme && git pull)
exit # become regular user again
# Restart services
sudo /etc/init.d/adhocracy_services restart
buildout_normsetzung.cfg
is checked into our private normsetzung-server-config
repository.
FYI: restarting the service ("/etc/init.d/adhocracy_services restart") doesn't always work (issue #15)