-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathbootstrap.sh
More file actions
executable file
·48 lines (36 loc) · 1010 Bytes
/
bootstrap.sh
File metadata and controls
executable file
·48 lines (36 loc) · 1010 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
#!/bin/bash
wwwusr=www-data
wwwgrp=www-data
# For now its hard to move Scalak to other folder,
# if You would like to do that anyway, You should change
# /var/scalak in many places in config files
mkdir -p /var/scalak/projects
mkdir -p /var/scalak/python_egg_cache
mkdir -p /var/scalak/trac_plugins
cp conf/scalakweb.wsgi /var/scalak/
pushd scalak
python setup.py install
popd
pushd scalak-trac-plugin/
python setup.py install
popd
pushd scalakweb/scalakweb
python setup.py install
popd
pushd /tmp
svn co http://svn.edgewall.com/repos/trac/plugins/0.12/mercurial-plugin
cd mercurial-plugin
python setup.py install
cd ..
rm -rf mercurial-plugin
popd
cp -r scalakweb/scalakweb /var/scalak
pushd /var/scalak/scalakweb
easy_install ScalakWeb
paster setup-app production.ini
popd
#echo 1 > /etc/pure-ftpd/conf/MinUID
#echo /var/run/ftpd.sock > /etc/pure-ftpd/conf/ExtAuth
#ln -s /etc/pure-ftpd/conf/ExtAuth /etc/pure-ftpd/auth/extauth
chown -R $wwwusr:$wwwgrp /var/scalak/*
/etc/init.d/apache2 restart