ㅎㅎㅎ 본격적으로 개발을 하기 위해서 Mac Pro 레티나를 질렀습니다! 예~~~
장난 아니네요 정말...이런 신세계가...ㅠ.ㅠ...
뭔가를 개발 하나 해봐야겠다는 의욕이 넘처나네요^0^
자! 맥북에서의 첫 포스팅입니다! ㅎㅎㅎ
ㄱㄱ~
우선! nodejs site로 가셔서 다운을 받도록 합니다. 패키지로 받으시면 됩니다. 바이너리 아닙니다~
다운로드(Download)를 꾹~눌러줍니다.
그리고나서 Mac에 맞는 패키지를 다운 받습니다.
.pkg 를 받으시면 됩니다~^0^good~
그리고나서 다운받아진 녀석을 클릭하여 다음다음 신공으로 셋팅 해줍니다^0^
설치가 완료되면 아래와 같습니다.
version 확인
npm도 자동으로 깔린다..와우!!
자! npm이 있으니! forever와 express등을 셋팅 해주시면 됩니다.
1) forever
rnd:node_modules root# npm install forever -g
npm http GET https://registry.npmjs.org/forever
npm http 200 https://registry.npmjs.org/forever
npm http GET https://registry.npmjs.org/forever/-/forever-0.11.1.tgz
npm http 200 https://registry.npmjs.org/forever/-/forever-0.11.1.tgz
npm http GET https://registry.npmjs.org/colors
npm http GET https://registry.npmjs.org/cliff/0.1.8
npm http GET https://registry.npmjs.org/flatiron
npm http GET https://registry.npmjs.org/forever-monitor/1.2.3
npm http GET https://registry.npmjs.org/nconf
npm http GET https://registry.npmjs.org/nssocket
npm http GET https://registry.npmjs.org/optimist
npm http GET https://registry.npmjs.org/pkginfo/0.3.0
npm http GET https://registry.npmjs.org/timespan
npm http GET https://registry.npmjs.org/utile
npm http GET https://registry.npmjs.org/watch
npm http GET https://registry.npmjs.org/winston
npm http 200 https://registry.npmjs.org/colors
npm http 200 https://registry.npmjs.org/forever-monitor/1.2.3
npm http 200 https://registry.npmjs.org/cliff/0.1.8
npm http GET https://registry.npmjs.org/colors/-/colors-0.6.2.tgz
npm http GET https://registry.npmjs.org/forever-monitor/-/forever-monitor-1.2.3.tgz
npm http GET https://registry.npmjs.org/cliff/-/cliff-0.1.8.tgz
npm http 200 https://registry.npmjs.org/nconf
npm http GET https://registry.npmjs.org/nconf/-/nconf-0.6.9.tgz
npm http 200 https://registry.npmjs.org/flatiron
npm http GET https://registry.npmjs.org/flatiron/-/flatiron-0.3.11.tgz
npm http 200 https://registry.npmjs.org/pkginfo/0.3.0
npm http GET https://registry.npmjs.org/pkginfo/-/pkginfo-0.3.0.tgz
npm http 200 https://registry.npmjs.org/timespan
npm http GET https://registry.npmjs.org/timespan/-/timespan-2.3.0.tgz
npm http 200 https://registry.npmjs.org/nssocket
npm http GET https://registry.npmjs.org/nssocket/-/nssocket-0.5.1.tgz
npm http 200 https://registry.npmjs.org/optimist
npm http GET https://registry.npmjs.org/optimist/-/optimist-0.6.1.tgz
npm http 200 https://registry.npmjs.org/cliff/-/cliff-0.1.8.tgz
npm http 200 https://registry.npmjs.org/colors/-/colors-0.6.2.tgz
npm http 200 https://registry.npmjs.org/forever-monitor/-/forever-monitor-1.2.3.tgz
npm http 200 https://registry.npmjs.org/watch
npm http GET https://registry.npmjs.org/watch/-/watch-0.8.0.tgz
npm http 200 https://registry.npmjs.org/nconf/-/nconf-0.6.9.tgz
npm http 200 https://registry.npmjs.org/pkginfo/-/pkginfo-0.3.0.tgz
npm http 200 https://registry.npmjs.org/utile
npm http GET https://registry.npmjs.org/utile/-/utile-0.2.1.tgz
npm http 200 https://registry.npmjs.org/timespan/-/timespan-2.3.0.tgz
npm http 200 https://registry.npmjs.org/winston
npm http 200 https://registry.npmjs.org/flatiron/-/flatiron-0.3.11.tgz
npm http GET https://registry.npmjs.org/winston/-/winston-0.7.3.tgz
npm http 200 https://registry.npmjs.org/nssocket/-/nssocket-0.5.1.tgz
npm http 200 https://registry.npmjs.org/watch/-/watch-0.8.0.tgz
npm http 200 https://registry.npmjs.org/optimist/-/optimist-0.6.1.tgz
npm http 200 https://registry.npmjs.org/utile/-/utile-0.2.1.tgz
npm http 200 https://registry.npmjs.org/winston/-/winston-0.7.3.tgz
npm http GET https://registry.npmjs.org/eventemitter2
npm http GET https://registry.npmjs.org/lazy
npm http GET https://registry.npmjs.org/async
npm http GET https://registry.npmjs.org/i
npm http GET https://registry.npmjs.org/deep-equal
npm http GET https://registry.npmjs.org/mkdirp
npm http GET https://registry.npmjs.org/ncp
npm http GET https://registry.npmjs.org/rimraf
npm http GET https://registry.npmjs.org/wordwrap
npm http GET https://registry.npmjs.org/minimist
npm http GET https://registry.npmjs.org/broadway
npm http GET https://registry.npmjs.org/minimatch
npm http GET https://registry.npmjs.org/ps-tree
npm http GET https://registry.npmjs.org/prompt/0.2.11
npm http GET https://registry.npmjs.org/director/1.1.10
npm http GET https://registry.npmjs.org/broadway/0.2.9
npm http GET https://registry.npmjs.org/optimist/0.6.0
npm http GET https://registry.npmjs.org/watch/-/watch-0.5.1.tgz
npm http GET https://registry.npmjs.org/utile/-/utile-0.1.7.tgz
npm http GET https://registry.npmjs.org/eyes
npm http GET https://registry.npmjs.org/winston/-/winston-0.6.2.tgz
npm http GET https://registry.npmjs.org/async
npm http GET https://registry.npmjs.org/cycle
npm http GET https://registry.npmjs.org/request
npm http GET https://registry.npmjs.org/stack-trace
npm http GET https://registry.npmjs.org/async/0.2.9
npm http GET https://registry.npmjs.org/ini
npm http 200 https://registry.npmjs.org/utile/-/utile-0.1.7.tgz
npm http 200 https://registry.npmjs.org/watch/-/watch-0.5.1.tgz
npm http 200 https://registry.npmjs.org/winston/-/winston-0.6.2.tgz
npm http 200 https://registry.npmjs.org/deep-equal
npm http GET https://registry.npmjs.org/deep-equal/-/deep-equal-0.2.1.tgz
npm http 200 https://registry.npmjs.org/lazy
npm http GET https://registry.npmjs.org/lazy/-/lazy-1.0.11.tgz
npm http 200 https://registry.npmjs.org/i
npm http GET https://registry.npmjs.org/i/-/i-0.3.2.tgz
npm http 200 https://registry.npmjs.org/async
npm http GET https://registry.npmjs.org/async/-/async-0.2.10.tgz
npm http 200 https://registry.npmjs.org/mkdirp
npm http GET https://registry.npmjs.org/mkdirp/-/mkdirp-0.4.0.tgz
npm http 200 https://registry.npmjs.org/ncp
npm http 200 https://registry.npmjs.org/eventemitter2
npm http GET https://registry.npmjs.org/ncp/-/ncp-0.4.2.tgz
npm http GET https://registry.npmjs.org/eventemitter2/-/eventemitter2-0.4.13.tgz
npm http 200 https://registry.npmjs.org/rimraf
npm http GET https://registry.npmjs.org/rimraf/-/rimraf-2.2.6.tgz
npm http 200 https://registry.npmjs.org/deep-equal/-/deep-equal-0.2.1.tgz
npm http 200 https://registry.npmjs.org/lazy/-/lazy-1.0.11.tgz
npm http 200 https://registry.npmjs.org/wordwrap
npm http 200 https://registry.npmjs.org/ncp/-/ncp-0.4.2.tgz
npm http 200 https://registry.npmjs.org/i/-/i-0.3.2.tgz
npm http GET https://registry.npmjs.org/wordwrap/-/wordwrap-0.0.2.tgz
npm http 200 https://registry.npmjs.org/eventemitter2/-/eventemitter2-0.4.13.tgz
npm http 200 https://registry.npmjs.org/rimraf/-/rimraf-2.2.6.tgz
npm http 200 https://registry.npmjs.org/wordwrap/-/wordwrap-0.0.2.tgz
npm http 200 https://registry.npmjs.org/ps-tree
npm http GET https://registry.npmjs.org/ps-tree/-/ps-tree-0.0.3.tgz
npm http 200 https://registry.npmjs.org/mkdirp/-/mkdirp-0.4.0.tgz
npm http 200 https://registry.npmjs.org/async/-/async-0.2.10.tgz
npm http 200 https://registry.npmjs.org/minimist
npm http GET https://registry.npmjs.org/minimist/-/minimist-0.0.8.tgz
npm http 200 https://registry.npmjs.org/broadway
npm http 200 https://registry.npmjs.org/prompt/0.2.11
npm http GET https://registry.npmjs.org/prompt/-/prompt-0.2.11.tgz
npm http 200 https://registry.npmjs.org/director/1.1.10
npm http GET https://registry.npmjs.org/director/-/director-1.1.10.tgz
npm http 200 https://registry.npmjs.org/minimatch
npm http 200 https://registry.npmjs.org/broadway/0.2.9
npm http GET https://registry.npmjs.org/broadway/-/broadway-0.2.9.tgz
npm http GET https://registry.npmjs.org/minimatch/-/minimatch-0.2.14.tgz
npm http 200 https://registry.npmjs.org/ps-tree/-/ps-tree-0.0.3.tgz
npm http 200 https://registry.npmjs.org/optimist/0.6.0
npm http GET https://registry.npmjs.org/optimist/-/optimist-0.6.0.tgz
npm http 200 https://registry.npmjs.org/minimist/-/minimist-0.0.8.tgz
npm http 200 https://registry.npmjs.org/minimatch/-/minimatch-0.2.14.tgz
npm http 200 https://registry.npmjs.org/optimist/-/optimist-0.6.0.tgz
npm http 200 https://registry.npmjs.org/prompt/-/prompt-0.2.11.tgz
npm http 200 https://registry.npmjs.org/director/-/director-1.1.10.tgz
npm http 200 https://registry.npmjs.org/cycle
npm http GET https://registry.npmjs.org/cycle/-/cycle-1.0.3.tgz
npm http 200 https://registry.npmjs.org/broadway/-/broadway-0.2.9.tgz
npm http 200 https://registry.npmjs.org/eyes
npm http GET https://registry.npmjs.org/eyes/-/eyes-0.1.8.tgz
npm http 200 https://registry.npmjs.org/stack-trace
npm http GET https://registry.npmjs.org/stack-trace/-/stack-trace-0.0.9.tgz
npm http 200 https://registry.npmjs.org/async
npm http 200 https://registry.npmjs.org/async/0.2.9
npm http GET https://registry.npmjs.org/async/-/async-0.2.9.tgz
npm http 200 https://registry.npmjs.org/ini
npm http 200 https://registry.npmjs.org/request
npm http 200 https://registry.npmjs.org/cycle/-/cycle-1.0.3.tgz
npm http 200 https://registry.npmjs.org/stack-trace/-/stack-trace-0.0.9.tgz
npm http 200 https://registry.npmjs.org/eyes/-/eyes-0.1.8.tgz
npm http GET https://registry.npmjs.org/ini/-/ini-1.1.0.tgz
npm http GET https://registry.npmjs.org/request/-/request-2.16.6.tgz
npm http GET https://registry.npmjs.org/event-stream
npm http GET https://registry.npmjs.org/lru-cache
npm http GET https://registry.npmjs.org/sigmund
npm http GET https://registry.npmjs.org/async/-/async-0.1.22.tgz
npm http GET https://registry.npmjs.org/ncp/-/ncp-0.2.7.tgz
npm http GET https://registry.npmjs.org/rimraf/-/rimraf-1.0.9.tgz
npm http GET https://registry.npmjs.org/eventemitter2/0.4.12
npm http GET https://registry.npmjs.org/winston/0.7.2
npm http GET https://registry.npmjs.org/utile/0.2.1
npm http 200 https://registry.npmjs.org/async/-/async-0.2.9.tgz
npm http GET https://registry.npmjs.org/pkginfo
npm http GET https://registry.npmjs.org/request/-/request-2.9.203.tgz
npm http 200 https://registry.npmjs.org/ini/-/ini-1.1.0.tgz
npm http 200 https://registry.npmjs.org/request/-/request-2.16.6.tgz
npm http 200 https://registry.npmjs.org/request/-/request-2.9.203.tgz
npm http 200 https://registry.npmjs.org/rimraf/-/rimraf-1.0.9.tgz
npm http 200 https://registry.npmjs.org/sigmund
npm http GET https://registry.npmjs.org/sigmund/-/sigmund-1.0.0.tgz
npm http 200 https://registry.npmjs.org/async/-/async-0.1.22.tgz
npm http 200 https://registry.npmjs.org/lru-cache
npm http GET https://registry.npmjs.org/read
npm http GET https://registry.npmjs.org/revalidator
npm http GET https://registry.npmjs.org/lru-cache/-/lru-cache-2.5.0.tgz
npm http 200 https://registry.npmjs.org/ncp/-/ncp-0.2.7.tgz
npm http 200 https://registry.npmjs.org/lru-cache/-/lru-cache-2.5.0.tgz
npm http 200 https://registry.npmjs.org/utile/0.2.1
npm http GET https://registry.npmjs.org/utile/-/utile-0.2.1.tgz
npm http 200 https://registry.npmjs.org/winston/0.7.2
npm http GET https://registry.npmjs.org/winston/-/winston-0.7.2.tgz
npm http 200 https://registry.npmjs.org/eventemitter2/0.4.12
npm http GET https://registry.npmjs.org/eventemitter2/-/eventemitter2-0.4.12.tgz
npm http 200 https://registry.npmjs.org/event-stream
npm http 200 https://registry.npmjs.org/pkginfo
npm http GET https://registry.npmjs.org/event-stream/-/event-stream-0.5.3.tgz
npm http GET https://registry.npmjs.org/pkginfo/-/pkginfo-0.2.3.tgz
npm http 200 https://registry.npmjs.org/sigmund/-/sigmund-1.0.0.tgz
npm http 200 https://registry.npmjs.org/pkginfo/-/pkginfo-0.2.3.tgz
npm http 200 https://registry.npmjs.org/utile/-/utile-0.2.1.tgz
npm http 200 https://registry.npmjs.org/read
npm http GET https://registry.npmjs.org/read/-/read-1.0.5.tgz
npm http 200 https://registry.npmjs.org/winston/-/winston-0.7.2.tgz
npm http 200 https://registry.npmjs.org/revalidator
npm http GET https://registry.npmjs.org/revalidator/-/revalidator-0.1.7.tgz
npm http 200 https://registry.npmjs.org/eventemitter2/-/eventemitter2-0.4.12.tgz
npm http 200 https://registry.npmjs.org/event-stream/-/event-stream-0.5.3.tgz
npm http 200 https://registry.npmjs.org/read/-/read-1.0.5.tgz
npm http 200 https://registry.npmjs.org/revalidator/-/revalidator-0.1.7.tgz
npm http GET https://registry.npmjs.org/optimist/-/optimist-0.2.8.tgz
npm http GET https://registry.npmjs.org/form-data
npm http GET https://registry.npmjs.org/mime
npm http GET https://registry.npmjs.org/hawk
npm http GET https://registry.npmjs.org/cookie-jar
npm http GET https://registry.npmjs.org/node-uuid
npm http GET https://registry.npmjs.org/aws-sign
npm http GET https://registry.npmjs.org/oauth-sign
npm http GET https://registry.npmjs.org/forever-agent
npm http GET https://registry.npmjs.org/json-stringify-safe
npm http GET https://registry.npmjs.org/tunnel-agent
npm http GET https://registry.npmjs.org/qs
npm http GET https://registry.npmjs.org/mute-stream
npm http 200 https://registry.npmjs.org/optimist/-/optimist-0.2.8.tgz
npm http 200 https://registry.npmjs.org/cookie-jar
npm http GET https://registry.npmjs.org/cookie-jar/-/cookie-jar-0.2.0.tgz
npm http 200 https://registry.npmjs.org/mime
npm http GET https://registry.npmjs.org/mime/-/mime-1.2.11.tgz
npm http 200 https://registry.npmjs.org/node-uuid
npm http GET https://registry.npmjs.org/node-uuid/-/node-uuid-1.4.1.tgz
npm http 200 https://registry.npmjs.org/form-data
npm http GET https://registry.npmjs.org/form-data/-/form-data-0.0.10.tgz
npm http 200 https://registry.npmjs.org/oauth-sign
npm http GET https://registry.npmjs.org/oauth-sign/-/oauth-sign-0.2.0.tgz
npm http 200 https://registry.npmjs.org/forever-agent
npm http 200 https://registry.npmjs.org/aws-sign
npm http GET https://registry.npmjs.org/forever-agent/-/forever-agent-0.2.0.tgz
npm http GET https://registry.npmjs.org/aws-sign/-/aws-sign-0.2.0.tgz
npm http 200 https://registry.npmjs.org/json-stringify-safe
npm http GET https://registry.npmjs.org/json-stringify-safe/-/json-stringify-safe-3.0.0.tgz
npm http 200 https://registry.npmjs.org/tunnel-agent
npm http GET https://registry.npmjs.org/tunnel-agent/-/tunnel-agent-0.2.0.tgz
npm http 200 https://registry.npmjs.org/hawk
npm http GET https://registry.npmjs.org/hawk/-/hawk-0.10.2.tgz
npm http 200 https://registry.npmjs.org/cookie-jar/-/cookie-jar-0.2.0.tgz
npm http 200 https://registry.npmjs.org/mime/-/mime-1.2.11.tgz
npm http 200 https://registry.npmjs.org/node-uuid/-/node-uuid-1.4.1.tgz
npm http 200 https://registry.npmjs.org/qs
npm http 200 https://registry.npmjs.org/forever-agent/-/forever-agent-0.2.0.tgz
npm http 200 https://registry.npmjs.org/form-data/-/form-data-0.0.10.tgz
npm http GET https://registry.npmjs.org/qs/-/qs-0.5.6.tgz
npm http 200 https://registry.npmjs.org/mute-stream
npm http GET https://registry.npmjs.org/mute-stream/-/mute-stream-0.0.4.tgz
npm http 200 https://registry.npmjs.org/aws-sign/-/aws-sign-0.2.0.tgz
npm http 200 https://registry.npmjs.org/oauth-sign/-/oauth-sign-0.2.0.tgz
npm http 200 https://registry.npmjs.org/json-stringify-safe/-/json-stringify-safe-3.0.0.tgz
npm http 200 https://registry.npmjs.org/tunnel-agent/-/tunnel-agent-0.2.0.tgz
npm http 200 https://registry.npmjs.org/hawk/-/hawk-0.10.2.tgz
npm http 200 https://registry.npmjs.org/mute-stream/-/mute-stream-0.0.4.tgz
npm http 200 https://registry.npmjs.org/qs/-/qs-0.5.6.tgz
npm WARN engine hawk@0.10.2: wanted: {"node":"0.8.x"} (current: {"node":"v0.10.26","npm":"1.4.3"})
npm WARN engine hawk@0.10.2: wanted: {"node":"0.8.x"} (current: {"node":"v0.10.26","npm":"1.4.3"})
npm WARN engine hawk@0.10.2: wanted: {"node":"0.8.x"} (current: {"node":"v0.10.26","npm":"1.4.3"})
npm http GET https://registry.npmjs.org/combined-stream
npm http GET https://registry.npmjs.org/hoek
npm http GET https://registry.npmjs.org/boom
npm http GET https://registry.npmjs.org/cryptiles
npm http GET https://registry.npmjs.org/sntp
npm http 200 https://registry.npmjs.org/combined-stream
npm http GET https://registry.npmjs.org/combined-stream/-/combined-stream-0.0.4.tgz
npm http 200 https://registry.npmjs.org/cryptiles
npm http GET https://registry.npmjs.org/cryptiles/-/cryptiles-0.1.3.tgz
npm http 200 https://registry.npmjs.org/sntp
npm http GET https://registry.npmjs.org/sntp/-/sntp-0.1.4.tgz
npm http 200 https://registry.npmjs.org/boom
npm http 200 https://registry.npmjs.org/hoek
npm http GET https://registry.npmjs.org/boom/-/boom-0.3.8.tgz
npm http GET https://registry.npmjs.org/hoek/-/hoek-0.7.6.tgz
npm http 200 https://registry.npmjs.org/cryptiles/-/cryptiles-0.1.3.tgz
npm http 200 https://registry.npmjs.org/combined-stream/-/combined-stream-0.0.4.tgz
npm http 200 https://registry.npmjs.org/sntp/-/sntp-0.1.4.tgz
npm http 200 https://registry.npmjs.org/hoek/-/hoek-0.7.6.tgz
npm http 200 https://registry.npmjs.org/boom/-/boom-0.3.8.tgz
npm http GET https://registry.npmjs.org/delayed-stream/0.0.5
npm WARN engine cryptiles@0.1.3: wanted: {"node":"0.8.x"} (current: {"node":"v0.10.26","npm":"1.4.3"})
npm WARN engine sntp@0.1.4: wanted: {"node":"0.8.x"} (current: {"node":"v0.10.26","npm":"1.4.3"})
npm WARN engine boom@0.3.8: wanted: {"node":"0.8.x"} (current: {"node":"v0.10.26","npm":"1.4.3"})
npm WARN engine hoek@0.7.6: wanted: {"node":"0.8.x"} (current: {"node":"v0.10.26","npm":"1.4.3"})
npm WARN engine cryptiles@0.1.3: wanted: {"node":"0.8.x"} (current: {"node":"v0.10.26","npm":"1.4.3"})
npm WARN engine sntp@0.1.4: wanted: {"node":"0.8.x"} (current: {"node":"v0.10.26","npm":"1.4.3"})
npm WARN engine boom@0.3.8: wanted: {"node":"0.8.x"} (current: {"node":"v0.10.26","npm":"1.4.3"})
npm WARN engine hoek@0.7.6: wanted: {"node":"0.8.x"} (current: {"node":"v0.10.26","npm":"1.4.3"})
npm WARN engine cryptiles@0.1.3: wanted: {"node":"0.8.x"} (current: {"node":"v0.10.26","npm":"1.4.3"})
npm WARN engine sntp@0.1.4: wanted: {"node":"0.8.x"} (current: {"node":"v0.10.26","npm":"1.4.3"})
npm WARN engine boom@0.3.8: wanted: {"node":"0.8.x"} (current: {"node":"v0.10.26","npm":"1.4.3"})
npm WARN engine hoek@0.7.6: wanted: {"node":"0.8.x"} (current: {"node":"v0.10.26","npm":"1.4.3"})
npm http 200 https://registry.npmjs.org/delayed-stream/0.0.5
npm http GET https://registry.npmjs.org/delayed-stream/-/delayed-stream-0.0.5.tgz
npm http 200 https://registry.npmjs.org/delayed-stream/-/delayed-stream-0.0.5.tgz
/usr/local/bin/forever -> /usr/local/lib/node_modules/forever/bin/forever
/usr/local/bin/foreverd -> /usr/local/lib/node_modules/forever/bin/foreverd
forever@0.11.1 /usr/local/lib/node_modules/forever
├── watch@0.8.0
├── colors@0.6.2
├── pkginfo@0.3.0
├── timespan@2.3.0
├── nssocket@0.5.1 (eventemitter2@0.4.13, lazy@1.0.11)
├── utile@0.2.1 (deep-equal@0.2.1, rimraf@2.2.6, ncp@0.4.2, async@0.2.10, mkdirp@0.4.0, i@0.3.2)
├── optimist@0.6.1 (wordwrap@0.0.2, minimist@0.0.8)
├── nconf@0.6.9 (ini@1.1.0, async@0.2.9, optimist@0.6.0)
├── cliff@0.1.8 (eyes@0.1.8, winston@0.6.2)
├── winston@0.7.3 (eyes@0.1.8, async@0.2.10, cycle@1.0.3, stack-trace@0.0.9, request@2.16.6)
├── forever-monitor@1.2.3 (watch@0.5.1, utile@0.1.7, minimatch@0.2.14, ps-tree@0.0.3, broadway@0.2.9)
└── flatiron@0.3.11 (optimist@0.6.0, director@1.1.10, prompt@0.2.11, broadway@0.2.9)
2) express
rnd:node_modules root# npm install express -g
npm http GET https://registry.npmjs.org/express
npm http 200 https://registry.npmjs.org/express
npm http GET https://registry.npmjs.org/express/-/express-4.1.1.tgz
npm http 200 https://registry.npmjs.org/express/-/express-4.1.1.tgz
npm http GET https://registry.npmjs.org/type-is/1.1.0
npm http GET https://registry.npmjs.org/parseurl/1.0.1
npm http GET https://registry.npmjs.org/accepts/1.0.1
npm http GET https://registry.npmjs.org/range-parser/1.0.0
npm http GET https://registry.npmjs.org/buffer-crc32/0.2.1
npm http GET https://registry.npmjs.org/cookie/0.1.2
npm http GET https://registry.npmjs.org/fresh/0.2.2
npm http GET https://registry.npmjs.org/methods/0.1.0
npm http GET https://registry.npmjs.org/send/0.3.0
npm http GET https://registry.npmjs.org/cookie-signature/1.0.3
npm http GET https://registry.npmjs.org/merge-descriptors/0.0.2
npm http GET https://registry.npmjs.org/utils-merge/1.0.0
npm http GET https://registry.npmjs.org/escape-html/1.0.1
npm http GET https://registry.npmjs.org/qs/0.6.6
npm http GET https://registry.npmjs.org/serve-static/1.1.0
npm http GET https://registry.npmjs.org/path-to-regexp/0.1.2
npm http GET https://registry.npmjs.org/debug
npm http 200 https://registry.npmjs.org/buffer-crc32/0.2.1
npm http 200 https://registry.npmjs.org/range-parser/1.0.0
npm http GET https://registry.npmjs.org/range-parser/-/range-parser-1.0.0.tgz
npm http GET https://registry.npmjs.org/buffer-crc32/-/buffer-crc32-0.2.1.tgz
npm http 200 https://registry.npmjs.org/cookie/0.1.2
npm http 200 https://registry.npmjs.org/fresh/0.2.2
npm http GET https://registry.npmjs.org/cookie/-/cookie-0.1.2.tgz
npm http GET https://registry.npmjs.org/fresh/-/fresh-0.2.2.tgz
npm http 200 https://registry.npmjs.org/accepts/1.0.1
npm http GET https://registry.npmjs.org/accepts/-/accepts-1.0.1.tgz
npm http 200 https://registry.npmjs.org/methods/0.1.0
npm http 200 https://registry.npmjs.org/send/0.3.0
npm http GET https://registry.npmjs.org/methods/-/methods-0.1.0.tgz
npm http 200 https://registry.npmjs.org/parseurl/1.0.1
npm http GET https://registry.npmjs.org/send/-/send-0.3.0.tgz
npm http GET https://registry.npmjs.org/parseurl/-/parseurl-1.0.1.tgz
npm http 200 https://registry.npmjs.org/type-is/1.1.0
npm http GET https://registry.npmjs.org/type-is/-/type-is-1.1.0.tgz
npm http 200 https://registry.npmjs.org/cookie-signature/1.0.3
npm http GET https://registry.npmjs.org/cookie-signature/-/cookie-signature-1.0.3.tgz
npm http 200 https://registry.npmjs.org/buffer-crc32/-/buffer-crc32-0.2.1.tgz
npm http 200 https://registry.npmjs.org/range-parser/-/range-parser-1.0.0.tgz
npm http 200 https://registry.npmjs.org/utils-merge/1.0.0
npm http 200 https://registry.npmjs.org/qs/0.6.6
npm http GET https://registry.npmjs.org/utils-merge/-/utils-merge-1.0.0.tgz
npm http GET https://registry.npmjs.org/qs/-/qs-0.6.6.tgz
npm http 200 https://registry.npmjs.org/merge-descriptors/0.0.2
npm http 200 https://registry.npmjs.org/methods/-/methods-0.1.0.tgz
npm http 200 https://registry.npmjs.org/cookie/-/cookie-0.1.2.tgz
npm http 200 https://registry.npmjs.org/fresh/-/fresh-0.2.2.tgz
npm http 200 https://registry.npmjs.org/send/-/send-0.3.0.tgz
npm http GET https://registry.npmjs.org/merge-descriptors/-/merge-descriptors-0.0.2.tgz
npm http 200 https://registry.npmjs.org/escape-html/1.0.1
npm http 200 https://registry.npmjs.org/serve-static/1.1.0
npm http GET https://registry.npmjs.org/serve-static/-/serve-static-1.1.0.tgz
npm http GET https://registry.npmjs.org/escape-html/-/escape-html-1.0.1.tgz
npm http 200 https://registry.npmjs.org/accepts/-/accepts-1.0.1.tgz
npm http 200 https://registry.npmjs.org/parseurl/-/parseurl-1.0.1.tgz
npm http 200 https://registry.npmjs.org/type-is/-/type-is-1.1.0.tgz
npm http 200 https://registry.npmjs.org/cookie-signature/-/cookie-signature-1.0.3.tgz
npm http 200 https://registry.npmjs.org/utils-merge/-/utils-merge-1.0.0.tgz
npm http 200 https://registry.npmjs.org/qs/-/qs-0.6.6.tgz
npm http 200 https://registry.npmjs.org/merge-descriptors/-/merge-descriptors-0.0.2.tgz
npm http 200 https://registry.npmjs.org/serve-static/-/serve-static-1.1.0.tgz
npm http 200 https://registry.npmjs.org/escape-html/-/escape-html-1.0.1.tgz
npm http 200 https://registry.npmjs.org/path-to-regexp/0.1.2
npm http GET https://registry.npmjs.org/path-to-regexp/-/path-to-regexp-0.1.2.tgz
npm http 200 https://registry.npmjs.org/debug
npm http GET https://registry.npmjs.org/debug/-/debug-0.8.1.tgz
npm http 200 https://registry.npmjs.org/path-to-regexp/-/path-to-regexp-0.1.2.tgz
npm http 200 https://registry.npmjs.org/debug/-/debug-0.8.1.tgz
npm http GET https://registry.npmjs.org/negotiator
npm http GET https://registry.npmjs.org/mime
npm http GET https://registry.npmjs.org/debug/0.8.0
npm http GET https://registry.npmjs.org/mime/1.2.11
npm http 304 https://registry.npmjs.org/mime
npm http 200 https://registry.npmjs.org/debug/0.8.0
npm http GET https://registry.npmjs.org/debug/-/debug-0.8.0.tgz
npm http 200 https://registry.npmjs.org/mime/1.2.11
npm http GET https://registry.npmjs.org/mime/-/mime-1.2.11.tgz
npm http 200 https://registry.npmjs.org/negotiator
npm http GET https://registry.npmjs.org/negotiator/-/negotiator-0.4.3.tgz
npm http 200 https://registry.npmjs.org/debug/-/debug-0.8.0.tgz
npm http 200 https://registry.npmjs.org/mime/-/mime-1.2.11.tgz
npm http 200 https://registry.npmjs.org/negotiator/-/negotiator-0.4.3.tgz
express@4.1.1 /usr/local/lib/node_modules/express
├── methods@0.1.0
├── parseurl@1.0.1
├── merge-descriptors@0.0.2
├── utils-merge@1.0.0
├── cookie@0.1.2
├── escape-html@1.0.1
├── debug@0.8.1
├── cookie-signature@1.0.3
├── fresh@0.2.2
├── range-parser@1.0.0
├── qs@0.6.6
├── buffer-crc32@0.2.1
├── serve-static@1.1.0
├── path-to-regexp@0.1.2
├── send@0.3.0 (debug@0.8.0, mime@1.2.11)
├── type-is@1.1.0 (mime@1.2.11)
└── accepts@1.0.1 (negotiator@0.4.3, mime@1.2.11)
그리고...express를 못찾는다..
이와 같이 $ npm install -g express-generator 를 깔아준다.
그런 뒤...
express simpleWeb으로 express 구조의 프로젝트를 만든다.
그런 뒤...express와 연관된 아이들을 깔아준다.
create : .
create : ./package.json
create : ./app.js
create : ./public
create : ./public/javascripts
create : ./public/images
create : ./public/stylesheets
create : ./public/stylesheets/style.css
create : ./routes
create : ./routes/index.js
create : ./routes/users.js
create : ./views
create : ./views/index.jade
create : ./views/layout.jade
create : ./views/error.jade
create : ./bin
create : ./bin/www
install dependencies:
$ cd . && npm install <--- 요녀석을 실행 시켜준다. cd 로 해당 프로젝트로 들어간 뒤 npm install로 디펜던시 걸려있는것들을 깔아준다.
run the app: <-- 실행은 다음과 같다..음...책과 다르다...그리고 소스 내용 또한 달라졌다...
음....creaetServer()등을 사용 할 수 있었는데...음... 없다고 나온다..ㅋㅋ;;
$ DEBUG=my-application ./bin/www
node app.js를 실행 시켜주면...동작하지 않는다..-_-;;;
위와 같이...1) DEBUG=simpleWeb 2) bin으로 가서 www를 node www로 실행 시켜 주면 된다..ㅎㅎㅎ
기본적으로 생성되는 소스가 조금 달라진 것 같다..음...
- END -
'Front > node.js' 카테고리의 다른 글
[node.js] Express , node api 참고 사이트 및 약간의 소스분석! (0) | 2014.05.03 |
---|---|
ㅠ ㅠ 이런.. (0) | 2014.04.30 |
[node.js] subModule version up 시 문제 (0) | 2014.04.21 |
[ERROR] Error: Cannot find module './lib/process' (0) | 2014.04.21 |
[tip.] Nodejs 개발 들어가기 전 정리!! (0) | 2014.04.21 |