This repo contains sources and html for Apache Airavata website.
The site's content is written in Mark Down which is built with Jekyll to convert to html
The git repo only has one branch asf-site and the source folder has all mark down files. Jekyll will be used to generate the HTML. The generated files are served from ‘content’ folder.
It is important to understand this distinction:
If you do not have Jekyll, you will need to first install it:
$ gem install jekyll
If you are on a Mac, you may need to install Ruby Gems.
For more instructions refer to the documentation on Jekyll website.
Update sources/_data/releases.yml file on releases
While you are working with the website, you can test and develop live. Run the following command in the source folder of the website:
$ jekyll serve
Jekyll will start a webserver on port
4000. As you make changes to the content, Jekyll will rebuild it automatically. This is helpful if you want to see how your changes will render in realtime.
Once you are done with your changes, you need to compile the static content for the website. This is what is actually hosted on the Apache Airavata website.
You can build the static content by running the following command in the root website directory:
$ jekyll build
Once built, it will be placed in the folder
content inside of the root directory. This directory will include images, HTML, CSS, and so on. In a typical Jekyll install this content would live in
_site - it has been changed for the Apache Airavata website to work with the ASF web publishing system.