comparison website/README.txt @ 4598:5c8463b8f7ba

Updated README for maintaining the websites (www, wiki, issues)
author Thomas Arendsen Hein <thomas@intevation.de>
date Mon, 02 Apr 2012 16:16:54 +0200
parents 4509e2df25c0
children 24bf81a617dd
comparison
equal deleted inserted replaced
4597:5ca12e280a84 4598:5c8463b8f7ba
1 issues.roundup-tracker.org: 1 issues.roundup-tracker.org:
2 2
3 * log into issues.roundup-tracker.org 3 * log into issues.roundup-tracker.org
4 * get a working copy of web/trunk/issues 4 * get a working copy of roundup/website/issues from the SCM, either via
5 hg clone http://roundup.hg.sourceforge.net:8000/hgroot/roundup/roundup
6 or download a snapshot:
7 http://roundup.hg.sourceforge.net/hgweb/roundup/roundup/archive/default.tar.gz
5 * copy the files into the tracker instance, using sudo: 8 * copy the files into the tracker instance, using sudo:
6 sudo -u roundup cp <file> /home/roundup/trackers/roundup/... 9 sudo -u roundup cp <file> /home/roundup/trackers/roundup/...
7 * restart the roundup server: 10 * restart the roundup server:
8 sudo -u roundup /etc/init.d/roundup restart 11 sudo -u roundup /etc/init.d/roundup restart
9 12
10 www.roundup-tracker.org: 13 www.roundup-tracker.org:
11 14
12 * log into sf.net 15 * log into sf.net
13 ssh -t <user>,roundup@shell.sourceforge.net create 16 ssh -t <user>,roundup@shell.sourceforge.net create
14 * set project_home: 17 * set project_home:
15 project_home=/home/project-web/roundup 18 project_home=/home/project-web/roundup
16 * activate the virtualenv 19 * activate the virtualenv
17 cd ${project_home} 20 cd ${project_home}
18 . docbuilder/bin/activate 21 . docbuilder/bin/activate
19 * update the working copy (you may need to "cd" to the docs directory for it to update...) 22 * update the working copy
20 cd ${project_home}/src/web/www 23 cd ${project_home}/src/roundup/website/www
21 svn update 24 hg pull -u
22 * build it 25 * build it
23 make html 26 make html
24 * you may also "make clean" 27 * you may also "make clean"
25 * install it 28 * install it
26 cp -r ./html/* ${project_home}/htdocs/ 29 cp -r ./html/* ${project_home}/htdocs/
27 30
28 (I think I can simplify the Makefile above such that the installation will be included as a make target.) 31 (I think I can simplify the Makefile above such that the installation will be included as a make target.)
29 32
30 wiki.roundup-tracker.org: 33 wiki.roundup-tracker.org:
31 34
32 * log into sf.net (see above) 35 * log into sf.net
36 ssh -t <user>,roundup@shell.sourceforge.net create
37 * set project_home:
38 project_home=/home/project-web/roundup
33 * update the working copy 39 * update the working copy
34 cd /home/project-web/roundup/src/web/wiki 40 cd ${project_home}/src/roundup/website/wiki
35 svn update 41 hg pull -u
36 * copy the files into the right places: 42 * copy the files into the right places:
37 - cp static/roundup/* ${project_home}/htdocs/_wiki/ 43 cp static/roundup/* ${project_home}/htdocs/_wiki/
38 - cp wiki/data/plugin/theme/roundup.py ${project_home}/persistent/wiki/data/plugin/theme/ 44 cp wiki/data/plugin/theme/roundup.py ${project_home}/persistent/wiki/data/plugin/theme/

Roundup Issue Tracker: http://roundup-tracker.org/