-
Notifications
You must be signed in to change notification settings - Fork 8
Starting a project with npm
runexec edited this page Mar 23, 2012
·
1 revision
[user@machine tmp]$ npm install Monorail.js
npm http GET https://registry.npmjs.org/Monorail.js
npm http 304 https://registry.npmjs.org/Monorail.js
npm http GET https://registry.npmjs.org/nohm
npm http GET https://registry.npmjs.org/express
npm http 304 https://registry.npmjs.org/express
npm http 304 https://registry.npmjs.org/nohm
npm http GET https://registry.npmjs.org/connect
npm http GET https://registry.npmjs.org/mime/1.2.4
npm http GET https://registry.npmjs.org/qs
npm http GET https://registry.npmjs.org/mkdirp/0.3.0
npm http GET https://registry.npmjs.org/async/0.1.18
npm http GET https://registry.npmjs.org/redis
npm http 304 https://registry.npmjs.org/mime/1.2.4
npm http 304 https://registry.npmjs.org/async/0.1.18
npm http 304 https://registry.npmjs.org/mkdirp/0.3.0
npm http 304 https://registry.npmjs.org/qs
npm http 304 https://registry.npmjs.org/connect
npm http 304 https://registry.npmjs.org/redis
npm http GET https://registry.npmjs.org/formidable
npm http 304 https://registry.npmjs.org/formidable
Monorail.js@0.9.0 ./node_modules/Monorail.js
��������� nohm@0.9.0-pre2 (async@0.1.18 redis@0.7.1)
��������� express@2.5.8
[user@machine tmp]$ ls
node_modules
[user@machine tmp]$ mv node_modules/* ./
[user@machine tmp]$ rm -rf node_modules/
[user@machine tmp]$ ls
Monorail.js
[user@machine tmp]$ cd Monorail.js/
[user@machine Monorail.js]$ ls
README.md lib monorail.js node_modules package.json
[user@machine Monorail.js]$ ./monorail.js new project Hello_World
Creating Project Hello_World
Making directory Hello_World
Making directory Hello_World/static
Making directory Hello_World/static/img
Making directory Hello_World/static/js
Making directory Hello_World/static/css
Making directory Hello_World/themes
Making directory Hello_World/themes/classic
Making directory Hello_World/themes/classic/img
Making directory Hello_World/themes/classic/js
Making directory Hello_World/themes/classic/css
Making directory Hello_World/models
Making directory Hello_World/views
Making file Hello_World/monorail.project
Making file Hello_World/routes.js
Making file Hello_World/redis.config
Making file Hello_World/themes/classic/classic.html
Making file Hello_World/themes/classic/css/classic.css
Copying libs...
[user@machine Monorail.js]$