This is CCSL website. Structure: bin/ - Where various executables that are necessary for dealing with the website lives etc/ - Support data files used by the executables in bin/. www/ - The website. www/site.inc - Included by every PHP file on the site, does some generic configuration. www/include/ - Where files included with SSI live. www/static/ - Where images, style sheets, and other media live. www/static/auto - Where automatically generated text goes. The text is generated by programs in bin/ using data from etc/ and other sources. Operations: Viewing the website for the first time: 0. ssh to dante, code required for the next step is installed there 1. Run "make" from this directory 2. Go to http://www.ccsl.carleton.ca/~//www/ Updating the official website: 1. Modify the contents of www/ 2. Verify the changes 3. Commit the changes to the repository 4. run bin/publish Creating a new page: - Each page has some PHP in it to load some static configuration. A generic page template looks like: ------------%<---------------%<------------- Page text ------------>%--------------->%------------- - You may cut and paste this into any page you create. When you do so, make sure that: 1. You modify line 2 (the include for "site.inc") to point to the site.inc file in the root www/ directory. It is responsible for performing some setup, and later includes will not work unless it is properly included. 2. Modify $PageTitle to be the title of the page you would like. Adding publications: - Publications are stored in bibtex format in the file etc/publications.bib. You can add an entry by adding an entry to that file and running make. - Run make after modifying the file to ensure that the change looks the way you want it to.