Use jc profile in .asf.yaml
1 file changed
tree: b45cee3f10818ad4631e409caddb37e940357854
  1. output/
  2. scripts/
  3. source/
  4. .asf.yaml
  5. .gitignore
  6. .jshintrc
  7. Dockerfile
  8. Gemfile
  9. Gemfile.lock
  10. Gruntfile.js
  12. package.json

Libcloud Website

This repository contains source code for a Libcloud website powered by Jekyll.

Note: Jekyll setup is based on my blog's jekyll setup.

System Dependencies

  • Ruby >= 1.9 <= 2.1
  • Gems: bundler (gem install bundler -v “1.3.0”)
  • jpgoptim (optional, for compressing images)
  • optipng (optional, for compressing images)
  • Node.js (optional, needed for Grunt tasks)

Note: Since the version of Jekyll we use only works with some older Ruby versions, you are encouraged to install and use rvm and use rvm to install Ruby v1.9.3 as shown below.

rvm install 1.9.3
rvm use 1.9.3
gem install bundler -v "1.3.0"

Installing Ruby dependencies

rvm use 1.9.3
bundle install

Installing Node.js dependencies

npm install .

Linting code

node_modules/.bin/grunt lint

Running Local Development Server


Generating and Publishing the Website

svn add source/*
svn add generated/*
svn commit generated/ -m "Generate website"

Note: svn add source/* step is important - if you don't commit source files for the changes you made, your changes will get overwritten next time someone else re-generates the website.