/website-statsday

Website for World Statistics Day 2015

Primary LanguageHTML

Website for World Statistics Day 2015

Build Status

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.

Contributing

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 off master 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 on master.

Deployment

There are 3 deployment options:

  1. Push to origin/development triggers a development build on Travis CI that is automatically pushed to the development environment.
  2. Push to origin/staging triggers a staging build on Travis CI that is automatically pushed to the staging environment.
  3. Push to origin/master triggers a production build on Travis CI that is automatically pushed to origin/gh-pages and then automatically published on GitHub Pages.

Pushing to branches in forked repositories will not trigger a deploy.