based on iron-coffee
by Tom Wilson
Black Coffee is a template or boiler-plate to get started writing flatiron web applications in CoffeeScript.
It includes a Cakefile that lets you build, and watch your coffeescript as you develop.
Just hack away at app.coffee in the src directory and create your own
pages. Skeleton CSS framework is included as well as a default skeleton page.
The default CoffeeCup templates for black-coffee are located in the src/pages directory. 3 pages and a layout template are included as examples in addition to the skeleton page.
Assets can be served from the 'assets' directory using ecstatic.
This template uses the following to create nodejs applications
Install nodejs and npm
git clone http://github.com/gradus/black-coffee.git [project-name]
cd [project-name]
npm install .
This is just a template to get you started.
If you want to make this your own project on github:
git remote rm origin
git remote add origin git@github.com:[your github accountname]/[project-name].git
npm install .
npm install flatiron
Black-Coffee currently requires the master version of director
cd node_modules/flatiron
npm uninstall director
npm install git://github.com/flatiron/director.git
cd ../../
cake build
cake watch
write tests, put them in the test directory and run
cake test
npm start