Use the toplevel makefile. Have a look at the targets.
There also a staticfetcher called by the Makefile that allows pulling in external resources (e.g. jQuery). They are defined in statics.py
. Don't add the fetched files to Git!
Let's do code review: Make sure every commit is reviewed by somebody else shortly after.
Make sure you know how to write unit tests in Mocha. Commit the tests along with the code
- Jasmine for testing. Especially Matchers and Suites and Specs
- CoffeeScript and js2coffee
- git ready
- Raphael
- knockout for everything outside the canvas. Work through the tutorial
- install [homebrew] (https://github.com/mxcl/homebrew)
- run
brew install node
to install node.js - run
curl http://npmjs.org/install.sh | sh
- run
npm install -g coffee-script
to install coffeescript (no -g if don't want global) - run
npm install -g stylus
to install stylus - run
npm install -g vogue
to install vogue - run
npm install -g mongoose
to install mongoose - run
npm install -g mocha
to install mocha for js testing - run
brew install wget
to ensure the make file can download the libraries - run
make
inside the project root to install all the library files
- Download [sublime] (http://www.sublimetext.com/2)
- Add Package manager
- Visit package manager and copy the huge chunk of text
- Press ctrl+(the plus/minus key thignn top left of keyboard), copy in the chunk and press enter
- Now install coffeescript package
- cmd+shift+p
- type install, enter
- start typing coffeescript, enter
- Install git package
- Same as Coffeescript but typing git
-
Optional: Allow output to Sublime console on build
-
Create CoffeScript.sublime-build file in ~/Library/Application Support/Sublime Text 2/Packages/User/
-
Add this to the file:
{ "cmd": ["coffee", "$file"], "selector" : "source.coffee", "path" : "/usr/local/bin" }
-
- Go to the server directory
cd server
- run
sudo npm link
to install dependencies
- From top level server
-
make server
, this starts the main node server -
make dev
, this starts the second python server to serve assets