3 <!DOCTYPE cscpage SYSTEM "../csc.dtd">
5 <cscpage title="CSC Website Editing Howto">
7 <section title="Getting started">
9 In order to edit the website you will first have to get the CVS
10 repository in which it is stored. To do so, go somewhere in your
11 home directory and type:
14 export CVS_RSH=ssh<br />
15 cvs -d username@peri.uwaterloo.ca:~sjdutoit/cvsroot co www
18 Where <code>username</code> is your CSC user name. You will be
19 prompted for your password (unless you use an SSH key). After a
20 while you should have a new directory, <code>www/</code>, with
24 You will also need <code>libxslt</code> and <code>libxml</code>
25 (including development headers) from Gnome. In debian,
26 <code>apt-get install libxml2-dev libxslt1-dev</code>.
29 <section title="Compiling the website">
31 The CSC website is <i>compiled</i>. This means that when you
32 edit a page, you don't edit the HTML source directly, but
33 instead edit a page describing the page's <i>content</i> (and
34 some formatting) and then run a command to generate the HTML
35 page from these content description pages.
38 To generate the CSC website, make sure you are in the directory
39 into which you checked it out (the <code>www/</code> directory)
46 This will compile the whole website. After any changes you make
47 you will have to recompile the website in the same manner.