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

Compare with Current View Page History

« Previous Version 18 Next »

Making Changes

The OODT website is driven using the Jekyll blogging framework. You can find Jekyll installation instructions here.

To start the Jekyll hosted website checkout the OODT source code from https://git-wip-us.apache.org/repos/asf/oodt.git and then switch to the site-dev branch. This is the branch that contains all of the website source files and some configuration options that Jenkins understands. In this directory run: 

jekyll serve

Assuming it starts correctly you can then find the OODT website hosted on http://localhost:4000 . Jekyll will rebuild the website for every change you make and stores them in the _site directory, ensure that directory isn't committed to the git repo as its a working directory.

Publishing the changes

To publish the changes first we need to build the website:

jekyll build

This will put the site into the _site directory. Then you need to move all the contents of the _site directory into the asf-site branch in the git repository. Currently its easiest just to copy the files elsewhere then checkout asf-site and move all the files back into the git working tree. Once this is done git add all, commit and push it back to the ASF git repository. After a few minutes the changes should then be reflected on http://oodt.apache.org

 

  • No labels