A flatiron http server template in coffee-script
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
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 email@example.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 ../../
write tests, put them in the test directory and run