Advertisement
metalx1000

Cloud9 Web IDE installer for Debian

Oct 26th, 2014
388
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Bash 0.69 KB | None | 0 0
  1. #!/bin/bash
  2.  
  3. sudo aptitude install npm libxml2-dev
  4.  
  5. #get and install working version of nodejs
  6. git clone git://github.com/creationix/nvm.git /tmp/nvm
  7. /tmp/nvm/install.sh
  8. export NVM_DIR="/home/metalx1000/.nvm"
  9. [ -s "$NVM_DIR/nvm.sh" ] && . "$NVM_DIR/nvm.sh"  # This loads nvm
  10. nvm install v0.8.8
  11.  
  12. git clone https://github.com/ajaxorg/cloud9.git
  13. cd cloud9
  14. npm install
  15.  
  16. echo "Please start cloud9 in a new window."
  17. echo "bin/cloud9.sh -w ~/git/myproject"
  18. echo "default port is 3131"
  19. echo "http://localhost:3131"
  20. echo "bin/cloud9.sh --username leuser --password c9isawesome"
  21. echo "localhost only by default"
  22. echo "bin/cloud9.sh -l 0.0.0.0 #to listen to all IP's"
  23.  
  24. ./cloud9/bin/cloud9.sh
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement