This repository contains the source code for the World Statistics Day 2015 website. This website is a Jekyll site that runs on the UNStats website-theme plugin, which is based on Octopress Ink.
Fork this repository and execute
bundle install
to install all dependencies locally. Execute
[bundle exec] rake site:preview
to launch this site locallz at http://localhost:4000. Follow these contribution guidelines:
- Create an issue and describe what you plan to work on. Start coding only after you get the go-ahead.
- Create a separate branch for each issue.
- Anything on branch
master
is stable and production ready. Always branch offmaster
to create a feature branch. - Mention the issue your work on in your commit messages.
- Before submitting a pull request, execute
[bundle exec] rake site:validate]
, clean up your commit history and rebase your feature branch onmaster
.
There are 3 deployment options:
- Push to
origin/development
triggers a development build on Travis CI that is automatically pushed to the development environment. - Push to
origin/staging
triggers a staging build on Travis CI that is automatically pushed to the staging environment. - Push to
origin/master
triggers a production build on Travis CI that is automatically pushed toorigin/gh-pages
and then automatically published on GitHub Pages.
Pushing to branches in forked repositories will not trigger a deploy.