You are viewing a plain text version of this content. The canonical link for it is here.
Posted to solr-commits@lucene.apache.org by Apache Wiki <wi...@apache.org> on 2007/02/20 09:15:15 UTC
[Solr Wiki] Update of "Website Update HOWTO" by BertrandDelacretaz
Dear Wiki user,
You have subscribed to a wiki page or wiki category on "Solr Wiki" for change notification.
The following page has been changed by BertrandDelacretaz:
http://wiki.apache.org/solr/Website_Update_HOWTO
The comment on the change is:
With the current SVN layout paths are like trunk/src/site, not solr/src/site
------------------------------------------------------------------------------
== Website update steps ==
1. Install [http://forrest.apache.org Apache Forrest] version 0.7
1. Checkout the solr code.
- 1. Go to {{{solr/src/site}}}
+ 1. Go to {{{trunk/src/site}}} (which contains the forrest.properties file)
- 1. Run {{{forrest}}} to build current version of documentation to make sure that Forrest was correctly installed. The generated site will be in {{{solr/src/site/build/site/}}}.
+ 1. Run {{{forrest}}} to build current version of documentation to make sure that Forrest was correctly installed. The generated site will be in {{{trunk/src/site/build/site/}}}.
- 1. Make your desired website changes to the source files in {{{solr/src/site/src}}} and regenerate the site with {{{forrest}}}.
+ 1. Make your desired website changes to the source files in {{{trunk/src/site/src}}} and regenerate the site with {{{forrest}}}.
1. 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.
- 1. When you are satisfied with your changes, regenerate the site with {{{forrest}}}, (recursively) copy {{{solr/src/site/build/site/*}}} to {{{solr/site/}}}, and commit changes to both {{{solr/src/site/src}}} and {{{solr/site}}} (add any new files first, but exclude the build directory).
+ 1. When you are satisfied with your changes, regenerate the site with {{{forrest}}}, (recursively) copy {{{trunk/src/site/build/site/*}}} to {{{trunk/site/}}}, and commit changes to both {{{trunk/src/site/src}}} and {{{trunk/site}}} (add any new files first, but exclude the build directory).
1. To deploy the site, {{{ssh people.apache.org}}} and then {{{cd /www/lucene.apache.org/solr; svn up}}}
- 1. Wait ~30 mintes for the site to be sync'd and then check the public site.
+ 1. Wait ~30 minutes for the site to be sync'd and then check the public site.