annotate website/README.txt @ 4442:53ce93693ea8 website

Tried to improve the instructions for updating the webpage.
author Bernhard Reiter <ber@users.sourceforge.net>
date Wed, 20 Oct 2010 15:16:55 +0000
parents 25db485027cf
children 7cd19e56ae4c
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
4227
25db485027cf add website instructions
Richard Jones <richard@users.sourceforge.net>
parents:
diff changeset
1 issues.roundup-tracker.org:
25db485027cf add website instructions
Richard Jones <richard@users.sourceforge.net>
parents:
diff changeset
2
25db485027cf add website instructions
Richard Jones <richard@users.sourceforge.net>
parents:
diff changeset
3 * log into issues.roundup-tracker.org
25db485027cf add website instructions
Richard Jones <richard@users.sourceforge.net>
parents:
diff changeset
4 * get a working copy of web/trunk/issues
25db485027cf add website instructions
Richard Jones <richard@users.sourceforge.net>
parents:
diff changeset
5 * copy the files into the tracker instance, using sudo:
25db485027cf add website instructions
Richard Jones <richard@users.sourceforge.net>
parents:
diff changeset
6 sudo -u roundup cp <file> /home/roundup/trackers/roundup/...
25db485027cf add website instructions
Richard Jones <richard@users.sourceforge.net>
parents:
diff changeset
7 * restart the roundup server:
25db485027cf add website instructions
Richard Jones <richard@users.sourceforge.net>
parents:
diff changeset
8 sudo -u roundup /etc/init.d/roundup restart
25db485027cf add website instructions
Richard Jones <richard@users.sourceforge.net>
parents:
diff changeset
9
25db485027cf add website instructions
Richard Jones <richard@users.sourceforge.net>
parents:
diff changeset
10 www.roundup-tracker.org:
25db485027cf add website instructions
Richard Jones <richard@users.sourceforge.net>
parents:
diff changeset
11
25db485027cf add website instructions
Richard Jones <richard@users.sourceforge.net>
parents:
diff changeset
12 * project_home=/home/groups/r/ro/roundup
25db485027cf add website instructions
Richard Jones <richard@users.sourceforge.net>
parents:
diff changeset
13
25db485027cf add website instructions
Richard Jones <richard@users.sourceforge.net>
parents:
diff changeset
14 * log into sf.net
25db485027cf add website instructions
Richard Jones <richard@users.sourceforge.net>
parents:
diff changeset
15 ssh -t <user>,roundup@shell.sourceforge.net create
25db485027cf add website instructions
Richard Jones <richard@users.sourceforge.net>
parents:
diff changeset
16 * update the working copy
25db485027cf add website instructions
Richard Jones <richard@users.sourceforge.net>
parents:
diff changeset
17 cd ${project_home}/src/web/www
25db485027cf add website instructions
Richard Jones <richard@users.sourceforge.net>
parents:
diff changeset
18 svn update
4442
53ce93693ea8 Tried to improve the instructions for updating the webpage.
Bernhard Reiter <ber@users.sourceforge.net>
parents: 4227
diff changeset
19 * (Update the roundup source docs directory as well?)
4227
25db485027cf add website instructions
Richard Jones <richard@users.sourceforge.net>
parents:
diff changeset
20 * make sure PATH includes ${project_home}/bin, and PYTHONPATH includes ${project_home}/lib/python
25db485027cf add website instructions
Richard Jones <richard@users.sourceforge.net>
parents:
diff changeset
21 * build it
25db485027cf add website instructions
Richard Jones <richard@users.sourceforge.net>
parents:
diff changeset
22 make [clean] html
4442
53ce93693ea8 Tried to improve the instructions for updating the webpage.
Bernhard Reiter <ber@users.sourceforge.net>
parents: 4227
diff changeset
23 # with clean ignore: "loading pickled environment... failed"
53ce93693ea8 Tried to improve the instructions for updating the webpage.
Bernhard Reiter <ber@users.sourceforge.net>
parents: 4227
diff changeset
24 * make sure you leave all files writable for the group "roundup"
53ce93693ea8 Tried to improve the instructions for updating the webpage.
Bernhard Reiter <ber@users.sourceforge.net>
parents: 4227
diff changeset
25 chmod g+rw -R .
4227
25db485027cf add website instructions
Richard Jones <richard@users.sourceforge.net>
parents:
diff changeset
26 * install it
25db485027cf add website instructions
Richard Jones <richard@users.sourceforge.net>
parents:
diff changeset
27 cp -r ./html/* ${project_home}/htdocs/
25db485027cf add website instructions
Richard Jones <richard@users.sourceforge.net>
parents:
diff changeset
28
25db485027cf add website instructions
Richard Jones <richard@users.sourceforge.net>
parents:
diff changeset
29 (I think I can simplify the Makefile above such that the installation will be included as a make target.)
25db485027cf add website instructions
Richard Jones <richard@users.sourceforge.net>
parents:
diff changeset
30
25db485027cf add website instructions
Richard Jones <richard@users.sourceforge.net>
parents:
diff changeset
31 wiki.roundup-tracker.org:
25db485027cf add website instructions
Richard Jones <richard@users.sourceforge.net>
parents:
diff changeset
32
25db485027cf add website instructions
Richard Jones <richard@users.sourceforge.net>
parents:
diff changeset
33 * log into sf.net (see above)
25db485027cf add website instructions
Richard Jones <richard@users.sourceforge.net>
parents:
diff changeset
34 * update the working copy
25db485027cf add website instructions
Richard Jones <richard@users.sourceforge.net>
parents:
diff changeset
35 cd /home/r/ro/roundup/src/web/wiki
25db485027cf add website instructions
Richard Jones <richard@users.sourceforge.net>
parents:
diff changeset
36 svn update
25db485027cf add website instructions
Richard Jones <richard@users.sourceforge.net>
parents:
diff changeset
37 * copy the files into the right places:
25db485027cf add website instructions
Richard Jones <richard@users.sourceforge.net>
parents:
diff changeset
38 - cp static/roundup/* ${project_home}/htdocs/_wiki/
25db485027cf add website instructions
Richard Jones <richard@users.sourceforge.net>
parents:
diff changeset
39 - cp wiki/data/plugin/theme/roundup.py ${project_home}/persistent/wiki/data/plugin/theme/

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