1. Node.js Install
http://www.nodejs.org/download/
2. go to Modules page
https://www.npmjs.org/ (click 'Modules' at nav)
3. find express
https://www.npmjs.org/package/express
4. install express
$ npm install -g express (-g is global)
(sudo or Administrator)
5. install express-generator
$ npm install -g express-generator (to use '$ express')
6. Create the app
$ express /tmp/foo && cd /tmp/foo
7. Install dependencies:
$ npm install
8. Start the server:
$ npm start
댓글 없음:
댓글 쓰기