Posts about RESTful API written by Gary A. Stafford

#iwtv#interview with the vampire#amc tvl#sam reid#jacob anderson




seen from China

seen from Germany
seen from China
seen from United States
seen from Philippines
seen from Belarus

seen from United States

seen from Belarus
seen from Japan
seen from China

seen from India
seen from United States
seen from Japan

seen from Malaysia
seen from Philippines

seen from United States
seen from China
seen from Netherlands
seen from China

seen from United States
Posts about RESTful API written by Gary A. Stafford
How to start mongodb
초보자라 역시 초보자답게 Stack Overflow의 힘을 빌릴 수 밖에 없는거구나. 사실 문서를 차근차근 읽고 난뒤 사용을 하면 되긴 하지만, 성급해서 일단 deamon이 올라와야나 성이 차는 그런... ㅜㅜ
mean.io하나로 뚝딱 다 되는줄로만 알고 있었는데 세상에 간단한거 하나 없다고 여러가지 시련을 던져 주었다.
프로젝트를 생성한뒤 grunt로 빌드를 실행하려고 하면 에러가 발생했다. 이를 해결하기 위해서 grunt-cli를 설치.(이걸 왜 빼먹고 있었을까??)
sudo npm install -g grunt-cli
그런뒤 다시
grunt
mongodb에 접속하지 못하는 메시지를 보여준다.
ps -ef | grep mongod
로 확인을 해보자 프로세스가 보이지를 않는다. 음... 왜 안돌고 있지??
여기서 난 Stack Overflow의 힘을 빌리게 된다. 한방에 바로 정답을 발견 고대로 따라하니 아주 잘돌아간다.
brew info mongodb
를 때리는 아주 좋은 정보를 보여준다. 이것도 모르고 있었다는게 부끄러울 정도로...
==> Caveats To have launchd start mongodb at login: $ ln -sfv /usr/local/opt/mongodb/*.plist ~/Library/LaunchAgents Then to load mongodb now: $ launchctl load ~/Library/LaunchAgents/homebrew.mxcl.mongodb.plist Or, if you don't want/need launchctl, you can just run: $ mongod --config /usr/local/etc/mongod.conf
이후 로그인 후에 정상적으로 mongodb는 올라오고 소리없이 잘 돌아가고 있다.
MEAN - A Modern Stack: MongoDB, ExpressJS, AngularJS, NodeJS. (BONUS: Passport User Support).