Node.js usage base on Microsoft Azure
Caesar Chi
http://about.me/clonnSaturday, June 28, 14
TODAY
• build a simple Node.js web
• deploy Azure
• learn Realtime
• build a structure
Saturday, June 28, 14
Caesar Chi
clonncdhttp://about.me/clonn
Saturday, June 28, 14
Saturday, June 28, 14
http://www.oreilly.com.tw/product2_web.php?id=a238
Saturday, June 28, 14
Apache(nginx) + PHP
V8#Engine Javascript
Saturday, June 28, 14
It is another topic.
Saturday, June 28, 14
Node.js is cross platform language
Saturday, June 28, 14
NVM
https://github.com/creationix/nvm
Saturday, June 28, 14
NVM INSTALLATION
git clone
git://github.com/creationix/nvm.git
~/.nvm
. ~/.nvm/nvm.sh
STEP 1
STEP 2
Saturday, June 28, 14
NVM安裝NODE.JS
Saturday, June 28, 14
NVM
INSTALL
NODE.JS
Saturday, June 28, 14
NVM INSTALL
<VERSION>
Saturday, June 28, 14
NVM USE <VERSION>
Saturday, June 28, 14
NVM ALIAS DEFAULT
<VERSION>
Saturday, June 28, 14
Web
develop
mode
Saturday, June 28, 14
http://www.asp.net/mvc
Saturday, June 28, 14
JS
Saturday, June 28, 14
JS
Saturday, June 28, 14
JSJS
Saturday, June 28, 14
JS
JS
JS
Saturday, June 28, 14
OUR GOAL
• build a simple Node.js web
• deploy Azure
• learn Realtime
• build a structure
Saturday, June 28, 14
OUR GOAL
Saturday, June 28, 14
WINDOWS AZURE
• manage.windowsazure.com/
Saturday, June 28, 14
WINDOWS AZURE
Saturday, June 28, 14
• click
WINDOWS AZURE
Saturday, June 28, 14
• click
WINDOWS AZURE
Saturday, June 28, 14
• auth then
WINDOWS AZURE
Saturday, June 28, 14
• git info
WINDOWS AZURE
Saturday, June 28, 14
• code
WINDOWS AZURE
http://goo.gl/v5Rqq
Saturday, June 28, 14
• localhost test
• git commit
• git push
• deployed
WINDOWS AZURE
Saturday, June 28, 14
DEMO
Saturday, June 28, 14
http://graph.facebook.com/Boo/photos?type=uploaded
Saturday, June 28, 14
http://graph.facebook.com/Boo/photos?type=uploaded
Saturday, June 28, 14
DEMO
Saturday, June 28, 14
• Azure cli - User authorized
AZURE CLI
azure account download
azure account import <path-to-file>
azure site create proje...
• localhost test
• git commit
• git push
• deployed
AZURE CLI
Saturday, June 28, 14
AZURE DEPLOY
FROM EXAMPLE
git clone --branch mongo-todo
git@github.com:clonn/node-demo.git
copy from Windows Azure
Saturda...
AZURE DEPLOY
FROM EXAMPLE
cd node-demo
git clone --branch mongo-todo git@github.com:clonn/node-demo.git
git add remote azu...
• mongoDB - by your own
• MongoHQ
mongohq.com
• MongoLab
mongolab.com/
STORAGE
Saturday, June 28, 14
with Node.js
Saturday, June 28, 14
https://github.com/Azure/azure-sdk-for-node
Saturday, June 28, 14
with Node.js
Saturday, June 28, 14
http://2014.jsdc.tw/
Saturday, June 28, 14
https://ticket.aotter.net/76
Saturday, June 28, 14
Caesar Chi
clonncdhttp://about.me/clonn
Saturday, June 28, 14
HTTPS://GITHUB.COM/
CLONN/AZURE-TOUR-
STUDY4TW
Saturday, June 28, 14
Upcoming SlideShare
Loading in...5
×

Node.js x Azure, cli usage, website deployment

865

Published on

How to use node.js in Azure for website service.
specific for website Azure service.

Published in: Technology
0 Comments
6 Likes
Statistics
Notes
  • Be the first to comment

No Downloads
Views
Total Views
865
On Slideshare
0
From Embeds
0
Number of Embeds
1
Actions
Shares
0
Downloads
3
Comments
0
Likes
6
Embeds 0
No embeds

No notes for slide

Node.js x Azure, cli usage, website deployment

  1. 1. Node.js usage base on Microsoft Azure Caesar Chi http://about.me/clonnSaturday, June 28, 14
  2. 2. TODAY • build a simple Node.js web • deploy Azure • learn Realtime • build a structure Saturday, June 28, 14
  3. 3. Caesar Chi clonncdhttp://about.me/clonn Saturday, June 28, 14
  4. 4. Saturday, June 28, 14
  5. 5. http://www.oreilly.com.tw/product2_web.php?id=a238 Saturday, June 28, 14
  6. 6. Apache(nginx) + PHP V8#Engine Javascript Saturday, June 28, 14
  7. 7. It is another topic. Saturday, June 28, 14
  8. 8. Node.js is cross platform language Saturday, June 28, 14
  9. 9. NVM https://github.com/creationix/nvm Saturday, June 28, 14
  10. 10. NVM INSTALLATION git clone git://github.com/creationix/nvm.git ~/.nvm . ~/.nvm/nvm.sh STEP 1 STEP 2 Saturday, June 28, 14
  11. 11. NVM安裝NODE.JS Saturday, June 28, 14
  12. 12. NVM INSTALL NODE.JS Saturday, June 28, 14
  13. 13. NVM INSTALL <VERSION> Saturday, June 28, 14
  14. 14. NVM USE <VERSION> Saturday, June 28, 14
  15. 15. NVM ALIAS DEFAULT <VERSION> Saturday, June 28, 14
  16. 16. Web develop mode Saturday, June 28, 14
  17. 17. http://www.asp.net/mvc Saturday, June 28, 14
  18. 18. JS Saturday, June 28, 14
  19. 19. JS Saturday, June 28, 14
  20. 20. JSJS Saturday, June 28, 14
  21. 21. JS JS JS Saturday, June 28, 14
  22. 22. OUR GOAL • build a simple Node.js web • deploy Azure • learn Realtime • build a structure Saturday, June 28, 14
  23. 23. OUR GOAL Saturday, June 28, 14
  24. 24. WINDOWS AZURE • manage.windowsazure.com/ Saturday, June 28, 14
  25. 25. WINDOWS AZURE Saturday, June 28, 14
  26. 26. • click WINDOWS AZURE Saturday, June 28, 14
  27. 27. • click WINDOWS AZURE Saturday, June 28, 14
  28. 28. • auth then WINDOWS AZURE Saturday, June 28, 14
  29. 29. • git info WINDOWS AZURE Saturday, June 28, 14
  30. 30. • code WINDOWS AZURE http://goo.gl/v5Rqq Saturday, June 28, 14
  31. 31. • localhost test • git commit • git push • deployed WINDOWS AZURE Saturday, June 28, 14
  32. 32. DEMO Saturday, June 28, 14
  33. 33. http://graph.facebook.com/Boo/photos?type=uploaded Saturday, June 28, 14
  34. 34. http://graph.facebook.com/Boo/photos?type=uploaded Saturday, June 28, 14
  35. 35. DEMO Saturday, June 28, 14
  36. 36. • Azure cli - User authorized AZURE CLI azure account download azure account import <path-to-file> azure site create project --git Saturday, June 28, 14
  37. 37. • localhost test • git commit • git push • deployed AZURE CLI Saturday, June 28, 14
  38. 38. AZURE DEPLOY FROM EXAMPLE git clone --branch mongo-todo git@github.com:clonn/node-demo.git copy from Windows Azure Saturday, June 28, 14
  39. 39. AZURE DEPLOY FROM EXAMPLE cd node-demo git clone --branch mongo-todo git@github.com:clonn/node-demo.git git add remote azure AZURE_URL git push azure master go check Windows Azure Saturday, June 28, 14
  40. 40. • mongoDB - by your own • MongoHQ mongohq.com • MongoLab mongolab.com/ STORAGE Saturday, June 28, 14
  41. 41. with Node.js Saturday, June 28, 14
  42. 42. https://github.com/Azure/azure-sdk-for-node Saturday, June 28, 14
  43. 43. with Node.js Saturday, June 28, 14
  44. 44. http://2014.jsdc.tw/ Saturday, June 28, 14
  45. 45. https://ticket.aotter.net/76 Saturday, June 28, 14
  46. 46. Caesar Chi clonncdhttp://about.me/clonn Saturday, June 28, 14
  47. 47. HTTPS://GITHUB.COM/ CLONN/AZURE-TOUR- STUDY4TW Saturday, June 28, 14
  1. A particular slide catching your eye?

    Clipping is a handy way to collect important slides you want to go back to later.

×