meteor Mongo安装
示例
流星并不是孤立存在的,通常会安装许多额外的开发工具,例如Mongo,Robomongo,Atom,Linters等。
# make sure mongo is in your local path nano ~/.profile export PATH=$PATH:/usr/local/mongodb/bin # or install it to the global path nano /etc/paths /usr/local/mongodb/bin # create mongo database directory mkdir /data/ mkdir /data/db chown -R username:admin /data # run mongodb server mongod ctrl-c # check that you can connect to your meteor app with stand-alone mongo terminal-a$ meteor create helloworld terminal-a$ cd helloworld terminal-a$ meteor terminal-b$ mongo -port 3001 # install robomongo database admin tool http://robomongo.org/ # check you can connect to your mongo instance with robomongo terminal-a$ meteor create helloworld terminal-a$ cd helloworld terminal-a$ meteor Dock$ Robomongo > Create > localhost:3001