git clone git@github.com:probably-kira/rails.git
to clone the rails repositorycd rails
sudo npm install
to install node & bower packages
or if you have Brunch installed run:
brunch new git@github.com:probably-kira/rails.git rails
cd rails
sudo npm install
to install node & bower packages
npm start
to serve using Brunch
Then navigate your browser to http://localhost:3333 If you use your own server, you can use the development script :
npm run-script dev
npm run-script prod
to minify javascript and css files for production deployment
Please be aware of the caveats regarding Angular JS and minification, take a look at Dependency Injection for information.
npm test
to run unit tests with karma- Open the browser you would like to test to http://localhost:3334