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 Aug 23, 2012
·
13 revisions
How to install an adhocracy normsetzungs server:
1. Login to the server:
ssh normsetzung-adhocracy1.cn.uni-duesseldorf.de
Enter the following
cd /home/adhocracy # Go to the directory of the user
sudo wget https://bitbucket.org/liqd/adhocracy.buildout/raw/default/build_debian.sh
sudo sh build_debian.sh -u -U adhocracy -M # You only have to do this once
sudo su adhocracy # Change to user
sh build_debian.sh -s -c buildout_production.cfg
Some changes to buildout_production.cfg
are necessary:
- change domain in
[domains]
- delete ports in
[ports]
- add adhocracy host:
host = 0.0.0.0
in[adhocracy]
- change secret password, sqlalchemy and email-from in
[adhocracy]
- add the
MySQL-python
dependency
FYI: restarting the service ("/etc/init.d/adhocracy_services restart") doesn't always work (issue #15)