Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Adjust URL to bootstrap.py; remove obsolete "-d" option

...

  1. Make a play area: mkdir oodt-site
  2. Go there: cd oodt-site
  3. Grab the buildout bootstrapper: curl -LO 'http://svndownloads.zopebuildout.org/*checkout*/zc.buildout/trunk/bootstrap/bootstrap2/bootstrap.py'
  4. Check out the static HTML docs: svn co https://svn.apache.org/repos/asf/oodt/docs/site static
  5. Make and commit any last-minute changes to the docs in static
  6. Check out the OODT source code (replace trunk with a tag as appropriate): svn co https://svn.apache.org/repos/asf/oodt/trunk oodt
  7. Build the Maven site artifacts: cd oodt; mvn site; cd .. - NOTE if this part fails for you on any OODT dependencies, it's likely that you haven't installed all of them yet; so a pre-requisite to this step would be to run mvn install from the cd oodt; directory.
  8. Check out the oodtsite.publisher: svn co https://svn.apache.org/repos/asf/oodt/tools/oodtsite.publisher/trunk oodtsite.publisher
  9. Check out the final destination of the site: svn co https://svn.apache.org/repos/asf/oodt/site
  10. Create buildout.cfg from the contents listed under "The Buildout Configuration" below.
  11. Bootstrap the buildout: python bootstrap.py -d
  12. Build it out: bin/buildout
  13. Make sure the publisher works: bin/test
  14. Publish: bin/oodtsitepublish --base=http://oodt.apache.org --target=site static oodt
  15. Commit: cd site; svn add *; svn ci

...

Code Block
titlebuildout.cfg
borderStyledashed

[buildout]
parts =
    publisher
    test
eggs = oodtsite.publisher
develop = oodtsite.publisher

[publisher]
recipe = zc.recipe.egg
eggs = ${buildout:eggs}

[test]
recipe = zc.recipe.testrunner
eggs = ${buildout:eggs}
defaults = ['--auto-color', '--auto-progress']