Butter Project Website
Branches
There are 2 Branches of this Repo Source and Master The Reason behind this is so that we can fully develop the site and make changes and test these changes via the source branch and find errors before the site is made live via the master branch
Please only submit patches to the source branch
Setup for production
Setting up the website for production is easy
- Run
npm install
in the root directory to pull in the build dependencies - Run
grunt dist
to compile and build the site - Setup a webserver to serve the
compiled
folder - Enjoy!
Setup for developers
Setting up the website for development is just as easy
- Run
npm install
in the root directory - Run
grunt
- Run
grunt develop
- Visit http://localhost:8080/
- Edit any file and refresh the page!
- Enjoy!
Updating translations
Updating the translations from Transifex is easy too, of course
- Make sure you have the Transifex command-line client installed
- Run
tx pull -a
in the root directory - Run
grunt copy:locales
to update thelocales
directory in thecompiled
folder