Skip to content

Instantly share code, notes, and snippets.

@burkeholland
Last active March 12, 2019 17:53
Show Gist options
  • Select an option

  • Save burkeholland/a2a30816fd305bd86d72250b760a6e3c to your computer and use it in GitHub Desktop.

Select an option

Save burkeholland/a2a30816fd305bd86d72250b760a6e3c to your computer and use it in GitHub Desktop.

Deploying Express to Azure

  1. Start with simple Express app
  2. Create site in Azure from VS Code extension
    1. Explain Resource Groups and Service Plans
    2. Show how VS Code configures project to do npm install on deploy
  3. Push site via zip deploy
  4. Push site via local git
  5. Push site via github
  6. Show common errors
    1. No dynamic port allocation
    2. No start script in package.json
      1. Site looks for www/bin, app.js, main.js or some variant
      2. Add start script
      3. Add a process.json file
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment