如何将angular-fullstack Yeoman生成器的输出部署到Azure?生成器生成这样的输出,即两个文件夹 - client
和server
。
├── client
│ ├── app - All of our app specific components go in here
│ ├── assets - Custom assets: fonts, images, etc…
│ ├── components - Our reusable components, non-specific to to our app
│
├── e2e - Our protractor end to end tests
│
└── server
├── api - Our apps server api
├── auth - For handling authentication with different auth strategies
├── components - Our reusable or app-wide components
├── config - Where we do the bulk of our apps configuration
│ └── local.env.js - Keep our environment variables out of source control
│ └── environment - Configuration specific to the node environment
└── views - Server rendered views
我想将其部署到Microsoft Azure,理想情况下使用Git部署。我该怎么做呢?
这是Azure中部署文件结构的样子。
答案 0 :(得分:3)
以下是简短版本:
这将为您提供Git Remote
空白天蓝色Web应用程序,以便您推送它。这意味着你可以这样做:
git remote add azure [URL for remote repository]
git push azure master
Here是较长的版本(适用于节点应用程序 - 但适用相同的概念)。