Bluemix setup

Download Bluemix setup

Post on 08-Aug-2015

13 views

Category:

Technology

0 download

Embed Size (px)

TRANSCRIPT

  1. 1. IBM Bluemix Deploy and run your apps on the cloud Quhan Arunasalam Hackathon@SST 3rd June 2015
  2. 2. Sign Up for a Bluemix account
  3. 3. Login and then click on Create an App
  4. 4. Click on Web
  5. 5. Click on SDK for Node.js
  6. 6. Name your app
  7. 7. Ensure that your starter app is running
  8. 8. Hi back!
  9. 9. Click on Overview in the sidebar and then Add Git
  10. 10. Click Continue
  11. 11. Create an Alias
  12. 12. Success! Click Close
  13. 13. Copy the Git URL
  14. 14. Switch over to Koding In the Terminal type in the following commands: git config --global user.email "you@example.com" git config --global user.name "Your Name" git config --global push.default simple
  15. 15. Commence the cloning In the Terminal type in the following commands: mkdir Node cd Node git clone https://hub.jazz.net/git/myalias/myappname
  16. 16. Install the app dependencies In the Terminal type in the following commands: cd myappname npm install
  17. 17. Make a minor modification Open app.js and modify the following line: app.listen(appEnv.port, appEnv.bind, function() {
  18. 18. Run your app In the Terminal type in the following command: npm start
  19. 19. Success!
  20. 20. To be continued