In 6 steps, you'll have chef-client-mobile up and running in your browser from scratch.
1 - Installing Git
> git clone git://github.com/peterwmwong/starbox-client-web.git
> cd starbox-client-web
> make stylus
> make coffee
This will compile .styl
to .css
and .coffee
to .js
.
File changes will automatically be recompiled.
> make server
In a browser, visit http://localhost:3000/index-dev.html?usemockdata=true
.
The development server is JUST for live.js/livereload and Chrome. live.js/livereload uses XHR to automatically reload JavaScript and CSS, Chrome does not allow XHR over the file://
protocol (issue 41024).
- Sublime Text 2 Sublime Rocks!
- CoffeeScript TextMate Bundle
- Stylus TextMate Bundle
- After running
npm install
, theStylus.tmbundle
directory can be found in starbox-client-web here:{starbox-client-web Project Directory}/node_modules/stylus/editors
- After running
- Vim or MacVim
- TextMate
- Stylus TextMate Bundle
- After running
npm install
, theStylus.tmbundle
directory can be found in starbox-client-web here:{starbox-client-web Project Directory}/node_modules/stylus/editors
- After running
- CoffeeScript TextMate Bundle
- Stylus TextMate Bundle
> make stylus
> make coffee
> make clean; make
> make specs
In a browser, go to [http://localhost:3000/spec-runner].
> make server
In a browser, go to [http://localhost:3000] and spotcheck functionality hasn't regressed.