Development/Website
From Sit
| SiT! Manual | Developers Guide → Development/Website | Chapter 6 |
| |
| |
Notes for updating the website
Checking out the website code from Subversion
svn co https://sitracker.svn.sourceforge.net/svnroot/sitracker/branches/website sitwebsite
Copying the website files from Remote to Local directory
rsync -rv --rsh="ssh -l username" username,sitracker@web.sourceforge.net:/home/groups/s/si/sitracker/htdocs .
Publishing the website from Local files to Remote web server. From the htdocs directory!
rsync -Crv --rsh="ssh -l username" ./ username,sitracker@web.sourceforge.net:/home/groups/s/si/sitracker/htdocs
Updating News
News should be posted to the SiT Blog in the 'News' category. Then from your workstation, using the latest svn copy of the website you should run:
php fetchnews.php
This will update two files, news.html and release.html. Now publish the website to the remote server (see above) and commit your changes to svn.