THIS IS A TEST INSTANCE. ALL YOUR CHANGES WILL BE LOST!!!!
...
- Make a play area:
mkdir oodt-site
- Go there:
cd oodt-site
- Grab the buildout bootstrapper:
curl -LO 'http://svndownloads.zopebuildout.org/
*checkout*
/zc.buildout/trunk/bootstrap/bootstrap2
/bootstrap.py'
- Check out the static HTML docs:
svn co
https://svn.apache.org/repos/asf/oodt/docs/site
static
- Make and commit any last-minute changes to the docs in
static
- Check out the OODT source code (replace
trunk
with a tag as appropriate):svn co
https://svn.apache.org/repos/asf/oodt/trunk
oodt
- 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. - Check out the
oodtsite.publisher
:svn co
https://svn.apache.org/repos/asf/oodt/tools/oodtsite.publisher/trunk
oodtsite.publisher
- Check out the final destination of the site:
svn co
https://svn.apache.org/repos/asf/oodt/site
- Create
buildout.cfg
from the contents listed under "The Buildout Configuration" below. - Bootstrap the buildout:
python bootstrap.py -d
- Build it out:
bin/buildout
- Make sure the publisher works:
bin/test
- Publish:
bin/oodtsitepublish --base=
http://oodt.apache.org
--target=site static oodt
- Commit:
cd site; svn add *; svn ci
...
Code Block | ||||
---|---|---|---|---|
| ||||
[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']
|