lucene-solr-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Apache Wiki <wikidi...@apache.org>
Subject [Solr Wiki] Update of "Website_Update_HOWTO" by ErickErickson
Date Thu, 23 Feb 2012 13:17:04 GMT
Dear Wiki user,

You have subscribed to a wiki page or wiki category on "Solr Wiki" for change notification.

The "Website_Update_HOWTO" page has been changed by ErickErickson:
http://wiki.apache.org/solr/Website_Update_HOWTO?action=diff&rev1=14&rev2=15

Comment:
Linked to maintenance instructions for Apache CMS

- ''You need committer rights to modify the Solr Website.''
+ As of early 2012, the Solr and Lucene websites are now maintained with [[http://www.apache.org/dev/cms.html|Apache
CMS]]. Instructions for editing the Lucene/Solr website can be found at: [[http://lucene.apache.org/site-instructions.html|Updating
the Lucene Sites]]
  
- == Prerequisite ==
-  1. Install [[http://forrest.apache.org|Apache Forrest]] version 0.8 (note: you must have
`java` pointing to jdk1.5, not a jdk1.6, lest you be faced with mysterious syntax errors )
-  1. Checkout the solr code.
-  1. Go to {{{trunk/solr/site-src}}} (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 {{{trunk/solr/site-src/build/site/}}}.
 You may need to clear out trunk/solr/site-src/build if the solr-specific-forrest-variables.ent
doesn't "take".
- == Website update steps ==
-  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 {{{trunk/solr/site-src/build/site/*}}} to {{{trunk/solr/site/}}}, and commit changes
to both {{{trunk/solr/site-src}}} and {{{trunk/solr/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 minutes for the site to be sync'd and then check the public site.
- 
- '''NOTE''':  When I attempted the instructions above today (august 2011), {{{svn up}}} did
not work, and I had to check out the "solr" folder again, like this: {{{mv solr solr.old;
svn co http://svn.apache.org/repos/asf/lucene/dev/trunk/solr/site solr; rm -rf solr/.svn}}}
(janhoy)
- 
- == Announce? ==
- 
- If the reason for updating the site was to post some sort of significant new news (ie: a
release, a new committer, an upcoming talk, etc...) or to add completely new documentation
consider sending out an announcement email to the solr-user@, dev@, and general@ lucene mailing
lists.
- 

Mime
View raw message