Solution for putting all your JS Project Workflow Online

Due to the restrict access to the internet in my working place,

I am eager to have everything of my personal project on the internet which is not that hard to find a solution.

Let me introduce you Cloud9 IDE + Github + Travis CI!

Github

https://github.com

Online Git Repo dont think I need to talk about it more.

Cloud9 IDE

https://c9.io

Can link C9 with your github repo, so you can clone to C9 and start working.

Most awesomeness about C9 is that its not only a online IDE, but also a RHEL virtual enivorement has node and bower installed, which means u can ‘npm install’ and ‘bower install’ whatever u want!

Again AWESOME!!

/home/ubuntu/.nvm/v0.10.35/lib
├── azure-cli@0.8.2
├── bower@1.3.12
├── grunt@0.4.4
├── grunt-cli@0.1.13
├── hexo-cli@0.1.7
├── hexo-deployer-git@0.0.4
├── jitsu@0.13.15
└── npm@1.4.28

maybe not that awesome since the free version only serves 512mb memory which causes ‘Thread being killed’ most of time if u do a ‘bower install’.

c9freespace

Travis CI

https://travis-ci.org

Why Travis CI is awesome? cos Travis CI also will do npm install and bower install for you when it cis ur project!!

  1. npm install is defaultly in Travis CI.

  2. Add a simple file to ask Travis CI do “bower install”

    Create a file called .travis.yml in the repo.

    Put following in there.

    language: node_js
    node_js:
      - 0.12
    before_script:
      - npm install -g bower
      - bower install