add installation docs back
wtf...
This commit is contained in:
parent
f17629d19f
commit
212137139a
1 changed files with 10 additions and 0 deletions
|
@ -1,3 +1,13 @@
|
||||||
|
# Installation
|
||||||
|
|
||||||
|
Koa currently requires node 0.11.x for the --harmony flag which exposes generators to your script. If you're running an earlier version of node you may install [n](https://github.com/visionmedia/n), a node version manager to quickly install 0.11.x:
|
||||||
|
|
||||||
|
```
|
||||||
|
$ npm install -g n
|
||||||
|
$ n 0.11.12
|
||||||
|
$ node --harmony my-koa-app.js
|
||||||
|
```
|
||||||
|
|
||||||
# Application
|
# Application
|
||||||
|
|
||||||
A Koa application is an object containing an array of middleware generator functions
|
A Koa application is an object containing an array of middleware generator functions
|
||||||
|
|
Loading…
Reference in a new issue