You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 2 Next »

How To Update The Lucene Connectors Framework Website

(NOTE: You need committer rights to modify the Website.)

  1. Install Apache Forrest 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.
  2. Checkout the LCF site code https://svn.apache.org/repos/asf/incubator/lcf/site/.
  3. Change directory to where it was checked out
  4. Run forrest to build current version of documentation to make sure that Forrest was correctly installed. The generated site will be in ./build/site/.
  5. Make your desired website changes to the source files in ./src/ and regenerate the site with forrest.
  6. 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.
  7. When you are satisfied with your changes, regenerate the site with forrest by running "forrest site",
  8. (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.
  9. 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/exportLCFDocs.sh > /home/gsingers/bin/lcf.log 2>&1
  • No labels