node.js x azure, cli usage, website deployment
TRANSCRIPT
Node.js usage base on Microsoft Azure
Caesar Chihttp://about.me/clonn
Saturday, 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/clonnSaturday, June 28, 14
http://www.oreilly.com.tw/product2_web.php?id=a238Saturday, June 28, 14
NVMhttps://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
OUR GOAL
• build a simple Node.js web
• deploy Azure
• learn Realtime
• build a structure
Saturday, June 28, 14
• code
WINDOWS AZURE
http://goo.gl/v5Rqq
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
• Azure cli - User authorized
AZURE CLI
azure account download
azure account import <path-to-file>
azure site create project --git
Saturday, June 28, 14
AZURE DEPLOY FROM EXAMPLE
git clone --branch mongo-todo [email protected]:clonn/node-demo.git
copy from Windows AzureSaturday, June 28, 14
AZURE DEPLOY FROM EXAMPLE
cd node-demo
git clone --branch mongo-todo [email protected]:clonn/node-demo.git
git add remote azure AZURE_URL
git push azure master
go check Windows Azure
Saturday, June 28, 14
•mongoDB - by your own
•MongoHQmongohq.com
•MongoLabmongolab.com/
STORAGE
Saturday, June 28, 14
https://github.com/Azure/azure-sdk-for-node
Saturday, June 28, 14
https://ticket.aotter.net/76Saturday, June 28, 14
Caesar Chi
clonncdhttp://about.me/clonnSaturday, June 28, 14
HTTPS://GITHUB.COM/CLONN/AZURE-TOUR-
STUDY4TW
Saturday, June 28, 14