JackHQ

0 notes

CupCake 3 -> A Express-Coffee FastTrack

2012 To Do List

  • Learn NodeJs
  • Learn Coffee-Script

Why not at the same time?

CupCake is a command line template builder that makes it easy for you to get a blank project up and ready to go!

Step 1:

Install nodejs from
http://nodejs.org

Step 2:

 npm install cupcake -g

Step 3:

cupcake [your project]

Step 4:

What template engine?
1. Jade
2. eco
3. coffeekup

choose 1

Step 5:

What database engine?
1. nano
2. mysql
3. mongoose

 choose 1

Step 6:

cd [your project]

Step 7:

node app.js

Step 8:

open browser at http://localhost:3000

Congrats

You are now ready to build an express-coffee application:

See these documentation sites for tips using express and coffee-script