Space: Apache Lucene Mahout (http://cwiki.apache.org/confluence/display/MAHOUT)
Page: HowToUpdateTheWebsite 
(http://cwiki.apache.org/confluence/display/MAHOUT/HowToUpdateTheWebsite)


Edited by Grant Ingersoll:
---------------------------------------------------------------------
h1. How To Update The Lucene Mahout Website

(*NOTE:* _You need committer rights to modify the Website._)

# Install [Apache Forrest|http://forrest.apache.org/] version 0.8. Make sure 
you have write permissions on the directory where Apache Forrest is installed, 
the first time your run Forrest it will attempt to create a plug-ins directory 
and download several plug-ins.  Forrest does not work w/ JDK 1.6.  This is 
particularly onerous on a Mac, since Apple seems to think Java 1.5 is the same 
as Java 1.6.  To fix, see 
http://www.lucidimagination.com/search/document/9343764a89d7e881/can_anyone_publish_the_site_again_when_you_have_a_sec
  Forrest does not work w/ JDK 1.6.  This is particularly onerous on a Mac, 
since Apple seems to think Java 1.5 is the same as Java 1.6.  To fix, see 
http://www.lucidimagination.com/search/document/9343764a89d7e881/can_anyone_publish_the_site_again_when_you_have_a_sec
# Checkout the Mahout site code 
[https://svn.apache.org/repos/asf/lucene/mahout/site/].
# Change directory to where it was checked out
# Run forrest to build current version of documentation to make sure that 
Forrest was correctly installed. The generated site will be in ./build/site/.
# Make your desired website changes to the source files in ./src/ and 
regenerate the site with forrest.
# Run "forrest run" and browse to http://localhost:8888 to review the changes. 
You should be able to modify the source documents and hit reload on your 
browser without rebuilding the site.
# When you are satisfied with your changes, regenerate the site with forrest by 
running "forrest site", 
# *(recursively) copy ./build/site/\* to ./publish, and commit changes to both 
./src and ./publish (add any new files first, but exclude the build directory). 
 This step is very important, if you miss it, your changes will not appear on 
the site after the next step.*
# The site will automatically be exported from svn by a script running in 
Grant's crontab on p.a.o on a nightly basis:
        04 4 * * * /home/gsingers/bin/exportMahoutDocs.sh > 
/home/gsingers/bin/mahout.log 2>&1


Change your notification preferences: 
http://cwiki.apache.org/confluence/users/viewnotifications.action    

Reply via email to