简体   繁体   中英

Deploy NodeJS app to Azure from VS Code

Created simple nodejs app in VS Code (Linux). Also created NodeJS app in Azure. How to deploy app from VS Code to this Azure app now? AZ CLI installed. I've downloaded some MyApp.PublishSettings file however seems it used in VS not VS Code. What is the best way to deploy then with or without git (github)?

Local Git deployment from command line (or VS Code terminal):

git remote add azure https://<username>@<app_name>.scm.azurewebsites.net/<app_name>.git
git push azure master

If empty application already there use force flag:

git push azure master -f

Useful links deploying Bot Framework To Azure On Linux:

PS Could be outdated since 2017.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM