[Skencil-commits] r667 - website/trunk

scm-commit@wald.intevation.org scm-commit at wald.intevation.org
Tue Apr 11 17:28:16 CEST 2006


Author: torsten
Date: 2006-04-11 17:28:16 +0200 (Tue, 11 Apr 2006)
New Revision: 667

Modified:
   website/trunk/README
Log:
Adapted READE files to the new build process of the website


Modified: website/trunk/README
===================================================================
--- website/trunk/README	2006-04-11 14:08:03 UTC (rev 666)
+++ website/trunk/README	2006-04-11 15:28:16 UTC (rev 667)
@@ -8,7 +8,8 @@
 from a page layout file and files that contain the bodies of every page.
 
 FAQ and Release Notes sections of the website are generated by scripts that are
-in folders faq/ and relnotes/, respectively. The rest of the pages are just
+in folders faq/ and relnotes/, respectively. The whole build process
+is managed by the updatepages.py script. The rest of the pages are just
 plain html files in folder pages/.
 
 
@@ -45,28 +46,84 @@
 Required accounts
 -----------------
 
-The sources of the website are kept in folder skencil.org/ in Skencil's
-"Software" CVS repository on Savannah. To make changes to them you either have
-to send us patches or get commit permission from us which requires a
-Savannah account and becoming a member of the Skencil project at Savannah
-(http://savannah.nongnu.org/projects/skencil/).
+The sources of the website are kept in folder "website" in Skencil's
+"Software" SVN repository on wald.intevation.org. To make changes to them you 
+either have to send us patches or get commit permission from us which 
+requires a wald account and becoming a member of the Skencil 
+project at Savannah
+(https://wald.intevation.org/projects/skencil/).
 
-The actual hosted html files are in Skencil's "Web Pages" CVS repository.
+The actual hosted html files are rsynced to Skencil's project website
+at wald.
 
 
 Building the Website
 --------------------
+1. Checkout sources of the Skencil website.
 
-Run "./updatepages.py" to update the web-pages in folder skencil/.
-(Use "--force" to create all of them regarding of the creation times.)
-If you also want to update Release Notes or the FAQ, you have to run the
-updatefaq and updaterelnotes.py scripts in folders faq/ and relnotes/
-before you run updatepages.py.
+1.1 Simple way
+Most users might want to checkout the whole sources for the website
+regardless the fact that they might want to change only a small part
+of the site.
 
-Gallery images can be built by running "make" in folder gallery/. Note
-that the gallery images require a lot of space for intermediate files;
-currently aroung 60MB.
+	* create a directory which will contain the sources
+	* checkout the whole sources here using:
 
-To upload the final html files to Savannah, just commit them to Skencil's
-"Web Pages" CVS repository. That can be achieved easily if "Web Pages" is
-checked out as skencil/ folder.
+	svn checkout \
+	svn+ssh://developername@scm.wald.intevation.org/skencil/website/trunk
+	
+	or for annonymous access:
+
+	svn checkout
+	https://scm.wald.intevation.org/svn/skencil/website/trunk
+
+1.2 Advanced way
+If you do not want to check out the whole site because you are about
+to change only a one page. You have the option to checkout only the
+files you need. So here is a short guide:
+	
+	* create a directory which will contain the sources.
+	* enter this diretory.
+	* checkout updatepages.py script here.
+	* checkout the "modules" (pages,screenshots,gallery) you need.
+	
+2. Generate html pages from the sources.
+Generation of the pages is done by the updatepages.py script. You will
+find it under the root folder of the source directory.
+You can control the behavior of the script providing some options.
+Please refer the build in help for more information.
+
+On default the website will be generated in a subfolder of your source
+directory named "skencil-website" but this is considered as
+depreciated. You should provide an alternative directory for the
+generated files with the -d option.
+
+3. Test your changes
+Check for all kind of errors. In example format and spelling errors.
+
+4. Checkin your changes
+To avoid conflicts that someone already changed the site at the same
+time, you should checkin your changes back to the repository.
+If there are no conflicts chances are very good that you won't mess up
+the site.
+
+5. Rsync generated files to make them public
+After successfull generation of the website you can rsync the
+generated files to the project website on wald. For general
+information on how to do this please refer:
+http://wald.intevation.org/docman/view.php/1/34/project-websites.txt
+
+Some examples:
+
+rsync a new index.html page to the server:
+rsync /path/to/my/generated/files/index.html \
+$USER at wald.intevation.org:/skencil/htdocs/
+
+rsync your whole repository:
+rsync -r /path/to/my/generated/files/ \
+$USER at wald.intevation.org:/skencil/htdocs/
+
+You might want to add the "-z" option on slow networks to compress the
+files before transmitting. For general help on rsync please refer the
+rsyn man page.
+



More information about the Skencil-commits mailing list