ibm bluemix lab java cache web application
play

IBM Bluemix Lab - - Java Cache Web Application Tony Yang - PowerPoint PPT Presentation

IBM Bluemix Lab - - Java Cache Web Application Tony Yang Todays Lab includes Part 1: Setup accounts and prerequisites Part 2: Start your first APP on Bluemix Part


  1. IBM ¡ ¡Bluemix Lab -­‑ -­‑ Java ¡ ¡Cache ¡ ¡Web ¡ ¡Application Tony ¡Yang

  2. Today’s ¡ ¡Lab ¡ ¡includes… Part ¡1: Setup ¡accounts ¡and ¡prerequisites Part ¡2: Start ¡your ¡first ¡APP ¡on ¡Bluemix Part ¡3: Cloud ¡Foundry ¡CLI Part ¡4: Modify ¡APP ¡using ¡DevOps

  3. Lab ¡ ¡#0: ¡ ¡Pre-­‑ -­‑requisites 1. Create ¡Bluemix ¡account ¡(IBM ¡ID) ¡ 2. Register ¡IBM ¡DevOps ¡Services ¡and ¡link ¡to ¡Jazz ¡ID 3. Install ¡the ¡cf ¡command ¡line ¡interface

  4. Login ¡IBM ¡Bluemix: http://www.bluemix.net

  5. Registration ¡has ¡been ¡completed

  6. Check ¡the ¡e-­‑mail ¡notification ¡from ¡IBM ¡Bluemix

  7. Validate ¡your ¡account

  8. Use ¡your ¡IBM ¡ID ¡to ¡sign-­‑in

  9. Congratulations!

  10. Register ¡IBM ¡DevOps ¡Services ¡ and ¡link ¡to ¡Jazz ¡ID

  11. Login ¡IBM ¡DevOps ¡Services: https://hub.jazz.net/

  12. Use ¡your ¡IBM ¡ID ¡to ¡log ¡in ¡to ¡DevOps ¡Services

  13. Install ¡CloudFoundry ¡(cf) Command ¡Line ¡Interface

  14. Download ¡cf ¡Command ¡Line ¡Interface https://github.com/cloudfoundry/cli/releases ( 請下載適合您作業系統的 Installer)

  15. We ¡are ¡ready!

  16. Lab ¡ ¡#1: Create ¡ ¡a ¡ ¡Java ¡ ¡Cache ¡ ¡Web ¡ ¡ Application ¡ ¡on ¡ ¡Bluemix

  17. Step ¡1: ¡Login ¡Bluemix

  18. Step ¡2: ¡select ¡“CATALOG” ¡tab

  19. Step ¡3: ¡Select ¡“Java ¡Cache ¡Web ¡ Starter” ¡in ¡Boilerplates

  20. Step ¡4: ¡Name ¡your ¡application ¡ and ¡click ¡“CREATE”

  21. Step ¡5: ¡Check ¡your ¡application ¡ status

  22. Step ¡6: ¡Play ¡with ¡your ¡new ¡ application ¡on ¡Bluemix

  23. Lab ¡#1 ¡completed!

  24. Lab ¡ ¡#2: Use ¡ ¡cf ¡ ¡Command ¡ ¡Line ¡ ¡Interface

  25. Step ¡1: ¡Click ¡on ¡the ¡Java ¡Web ¡ Application ¡you ¡just ¡created

  26. Step ¡2: ¡Click ¡“View ¡Quick ¡Start”

  27. Step ¡3: ¡Download ¡the ¡Java ¡Web ¡ Application ¡package

  28. Step ¡4: ¡Please ¡follow ¡the ¡steps ¡ listed ¡in ¡Quick ¡Start

  29. Extract ¡the ¡package ¡and ¡cd ¡to ¡the ¡ directory

  30. Summary ¡of ¡cf ¡commands ¡used • Connect ¡to ¡Bluemix ¡API ¡end ¡point cf ¡api • Log ¡into ¡Bluemix cf ¡login • Setup ¡organization ¡and ¡space ¡target ¡(optional) cf ¡target • Deploy ¡your ¡application cf ¡push

  31. Demo ¡(if ¡time ¡permits) • Use ¡Eclipse ¡to ¡update ¡and ¡re-­‑build ¡the ¡code, ¡and ¡ use ¡cf ¡command ¡to ¡push ¡it ¡to ¡Bluemix.

  32. Lab ¡#2 ¡completed!

  33. Lab ¡ ¡#3: Modify ¡ ¡and ¡ ¡Deploy ¡ ¡Application ¡ ¡ using ¡ ¡IBM ¡ ¡DevOps Services

  34. Step ¡1: ¡ Click ¡on ¡the ¡sample ¡application ¡on ¡ the ¡DASHBOARD ¡tab

  35. Step ¡2: ¡Click ¡“ADD ¡GIT”

  36. Step ¡3: ¡Input ¡IBM ¡ID ¡information

  37. Step ¡4: ¡Continue ¡to ¡create ¡git ¡ repository

  38. Step ¡5: ¡Confirm ¡success.

  39. Step ¡6: ¡Click ¡“EDIT ¡CODE” ¡to ¡ connect ¡to ¡the ¡JazzHub

  40. Step ¡7: ¡On ¡the ¡JazzHub ¡web ¡editor, ¡ find ¡WebContent ¡> ¡index.html ¡

  41. Step ¡8: ¡Change ¡the ¡content ¡of ¡the ¡ <h1> ¡title (Hint: ¡use ¡Ctrl-­‑F ¡to ¡search ¡for ¡“h1”)

  42. Step ¡9: ¡Save ¡the ¡changes ¡using ¡ File ¡> ¡Save

  43. Step ¡10: ¡Switch ¡to ¡“Git ¡Repository” ¡ view ¡

  44. Step ¡11: ¡View ¡the ¡changes, ¡add ¡ comment, ¡and ¡COMMIT

  45. Step ¡12: ¡Click ¡FETCH ¡to ¡sync ¡with ¡ remote ¡master

  46. Step ¡13: ¡PUSH ¡the ¡outgoing ¡ changes ¡to ¡remote ¡repository

  47. Step ¡13 ¡(cont’d)

  48. Step ¡14: ¡Switch ¡to ¡BUILD ¡& ¡Deploy

  49. Step ¡15: ¡Request ¡a ¡build ¡and ¡auto ¡ deploy ¡it ¡to ¡Bluemix Note: ¡It ¡may ¡take ¡some ¡time ¡to ¡complete ¡the ¡build ¡and ¡deployment.

  50. Step ¡15: ¡Request ¡a ¡build ¡and ¡auto ¡ deploy ¡it ¡to ¡Bluemix ¡(cont’d) Note: ¡It ¡may ¡take ¡some ¡time ¡to ¡complete ¡the ¡build ¡and ¡deployment.

  51. Step ¡16: ¡Check ¡your ¡changes ¡on ¡ Bluemix

  52. Lab ¡#3 ¡completed!

  53. Next ¡step • Start ¡play ¡with ¡the ¡Starters and ¡ Services on ¡Bluemix • Click ¡“VIEW ¡DOCS” ¡to ¡find ¡all ¡the ¡ information ¡you ¡need • Visit ¡COMMUNITY resource ¡to ¡ interesting ¡samples, ¡discussions, ¡ Q&As, ¡and ¡related ¡events.

Download Presentation
Download Policy: The content available on the website is offered to you 'AS IS' for your personal information and use only. It cannot be commercialized, licensed, or distributed on other websites without prior consent from the author. To download a presentation, simply click this link. If you encounter any difficulties during the download process, it's possible that the publisher has removed the file from their server.

Recommend


More recommend