安裝nodejs
安裝express-generator
http://expressjs.com/en/starter/generator.html
npm install express-generator -g
express --view=pug myapp
Then install dependencies:
$ cd myapp
$ npm install
啟動express
DEBUG=express:* node ./bin/www
http://expressjs.com/en/starter/generator.html
npm install express-generator -g
express --view=pug myapp
$ cd myapp
$ npm install
DEBUG=express:* node ./bin/www