Skip to content

Latest commit

 

History

History
8 lines (7 loc) · 676 Bytes

Develop-BaseJump-locally-and-run-on-c9.io.md

File metadata and controls

8 lines (7 loc) · 676 Bytes

If you like me develop basejump locally and want it run on c9, this may help you.

  1. push your project to github
  2. create a new workspace in c9 and set 'Clone from Git or Mercurial URL (optional)' with your github repository URL. After submit your create page, c9 will clone your project for you.
  3. run echo "export NODE_PATH=$NODE_PATH:/home/ubuntu/.nvm/v0.10.35/lib/node_modules" >> ~/.bashrc && source ~/.bashrc in your c9 terminal window
  4. run bower install && sudo npm install
  5. run mkdir data && echo 'mongod --bind_ip=$IP --dbpath=data --nojournal --rest "$@"' > mongod && chmod a+x mongod && ./mongod
  6. run grunt serve in another terminal window