Skip to content

Install normsetzungs server

phihag edited this page Jan 25, 2013 · 13 revisions

First setup

Login to the server with

ssh normsetzung-adhocracy1.cn.uni-duesseldorf.de

(or adhocracy-2; switch as required)

Enter the following

useradd -m adhocracy
cd /home/adhocracy
sudo wget -nv https://raw.github.com/liqd/adhocracy.buildout/develop/build_debian.sh -O build_debian.sh
sudo sh build_debian.sh -u -U adhocracy -M -b hhu

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)

Clone this wiki locally