Permalink
Browse files

Docs

  • Loading branch information...
1 parent 656d775 commit e99c2791bb0e2128ed3935e2f93db5bee5be3e7b @tj tj committed Mar 16, 2010
Showing with 8 additions and 10 deletions.
  1. +8 −10 Readme.md
View
@@ -28,6 +28,12 @@
and run:
$ kiwi -v install express
+
+or
+
+ Install via git clone:
+
+ $ git://github.com/visionmedia/express.git && cd express && git submodule update
## Performance
@@ -40,16 +46,8 @@
Below is a tiny Express application. View the [Wiki](http://wiki.github.com/visionmedia/express/) for detailed information.
- var kiwi = require('kiwi'),
- express = kiwi.require('express')
-
- configure(function(){
- // push "haml" and "sass" to node's load path, so
- // that the View engine can require() them
- kiwi.seed('haml')
- kiwi.seed('sass')
- })
-
+ require('express')
+
get('/user', function(){
this.redirect('/user/' + this.currentUser.id)
})

0 comments on commit e99c279

Please sign in to comment.