1.别人已经帮忙建立好了Node.js
2.在微软的Azure上找了半天,找到了:
http://www.windowsazure.com/en-us/develop/nodejs/tutorials/create-a-website-%28mac%29/
去参考此教程,去创建app。
3.最后结果是,不论是clone还是commit,都是出现验证失败,好像是密码错了:
CLi@PC-CLI-1 /cygdrive/d/tmp/tmp_dev_root/freelance/elance/Node.js/git_root
$ git clone --recursive https://xxxxxxxxxxxx.azurewebsites.net
Cloning into 'xxxxxxxxxxxx.azurewebsites.net'...
Password for 'https://xxxxxxxxxxxx.azurewebsites.net':
fatal: Authentication failed
CLi@PC-CLI-1 /cygdrive/d/tmp/tmp_dev_root/freelance/elance/Node.js/git_root
$ git init
Initialized empty Git repository in /cygdrive/d/tmp/tmp_dev_root/freelance/elance/Node.js/git_root/.git/
CLi@PC-CLI-1 /cygdrive/d/tmp/tmp_dev_root/freelance/elance/Node.js/git_root
$ git add .
CLi@PC-CLI-1 /cygdrive/d/tmp/tmp_dev_root/freelance/elance/Node.js/git_root
$ git commit -m "initial commit"
[master (root-commit) ed1cae2] initial commit
Committer: U-MM\CLi <CLi@PC-CLI-1.corp.mm-software.com>
Your name and email address were configured automatically based
on your username and hostname. Please check that they are accurate.
You can suppress this message by setting them explicitly:
git config --global user.name "Your Name"
git config --global user.email you@example.com
After doing this, you may fix the identity used for this commit with:
git commit --amend --reset-author
1 files changed, 6 insertions(+), 0 deletions(-)
create mode 100755 server.js
CLi@PC-CLI-1 /cygdrive/d/tmp/tmp_dev_root/freelance/elance/Node.js/git_root
$ git remote add azure https://xxxxxxxxxxxx.azurewebsites.net/xxx.git
CLi@PC-CLI-1 /cygdrive/d/tmp/tmp_dev_root/freelance/elance/Node.js/git_root
$ git push azure master
Password for 'https://xxxxxxxxxxxx.azurewebsites.net':
fatal: Authentication failed4.
转载请注明:在路上 » 【记录】在Windows Azure上开发Node.js的app