This repository has been archived by the owner on May 11, 2020. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 33
Compilation
Michael Moroni edited this page Jul 14, 2015
·
1 revision
- Node.js (0.10.x)
- Ruby
- Firefox (Nightly)
We are using the following setup
- Node for running grunt (make-like tool), which we use to run tests and builds
- Ruby for running compass (css compiler)
- Bower for managing client-side dependencies
The setup process is a bit convoluted but needs to be done only once.
Download it from nodejs.org. Make sure to not select the 0.10.
$ npm install -g grunt-cli bower
- Note: add
sudo
if you are on Linux. It is not needed on MacOS.
$ npm install
$ gem install bundler && bundle install
$ bower install
If after updating the code the tests or jshint are failing, maybe you have outdated dependencies. First thing to do is to update all the dependencies:
$ npm install
$ bundle install
$ bower install
Sometimes npm install
does weird things, if you keep receiving errors when
executing it, just remove the node_modules
folder inside the repo and execute
npm install
again.
To check that all the dependencies are correctly installed, do a npm list
and
check that no errors appear.