Associazione Alberto Poltronieri
You need to install Node.js and the following tools:
$ npm install -g enfield ... $ npm install -g grunt-cli ... $ npm install -g bootlint ...
Then you need to install the dependencies:
$ npm install
You may generate the site locally, using enfield.
$ enfield ... $ grunt ... $ bootlint _site/*.html ...
There are two repos:
The development uses staging repo, master branch.
To sync the two repos, you need to add the following to the config of the live repo:
[remote "staging"] url = firstname.lastname@example.org:associazionepoltronieri/associazionepoltronieri.github.com.git fetch = +refs/heads/*:refs/remotes/origin/*
When you need to sync the live repo with the staging one, you need to execute the following commands:
git pull staging master git push
The live repo has two branches:
After syncing staging master branch with live master one, the last step to go live is to merge live master branch with live gh-pages one.