Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Associazione Alberto Poltronieri (live)
JavaScript CSS
branch: master
Failed to load latest commit information.
_layouts Add html validation and fix linter errors.
assets/js
css Update to Bootstrap 3.0.3.
docs Add ViA brochure and coupon 5x1000.
events Add memorial cucciolo 2014 event.
img Add ViA brochure and coupon 5x1000.
.gitignore Add html validation and fix linter errors.
Gruntfile.js
README.md Add html validation and fix linter errors.
_config.yml Add github templating.
contatti.html Add html validation and fix linter errors.
cookies.txt
donazioni.html Add html validation and fix linter errors.
eventi.html Add memorial cucciolo 2014 event.
favicon.ico Add draft release.
index.html
missione.html Update to Bootstrap 3.0.3.
package.json Add html validation and fix linter errors.
progetti.html Add html validation and fix linter errors.
sostegno.html Add sostegno for 2013/2104.

README.md

Associazione Alberto Poltronieri

Development

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.

Then you may validate the html, using the default Grunt task; at last, you may validate the Boostrap code with bootlint.

$ enfield
...

$ grunt
...

$ bootlint _site/*.html
...

Deploy

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 = git@github.com: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: master and gh-pages.

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.

Something went wrong with that request. Please try again.