Deploy static site to azure AppService.
Switch branches/tags
Nothing to show
Clone or download
EricForgy and Ulrik Strid Copy web.config
Copy web.config
Latest commit c7f305f Apr 7, 2017
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
scripts Copy web.config Apr 7, 2017
.deployment move scripts and add publish.sh Mar 13, 2017
LICENSE Initial commit Mar 10, 2017
README.md Correct path for deploy.sh Apr 6, 2017
circle.yml Add circle.yml with 2.0 API Mar 13, 2017
web.config Add needed files Mar 10, 2017

README.md

azure-appservice-static

Deploy static create-react-app site to azure AppService.

Usage

Copy the following files to your repo root

.deployment
scripts/deploy.sh
web.config

Change your scripts in package.json to something like this:

scripts": {
  "postinstall": "npm run build",
  "dev": "react-scripts start",
  "build": "react-scripts build",
  "test": "react-scripts test --env=jsdom",
  "eject": "react-scripts eject"
}

Blog post

https://medium.com/@strid/host-create-react-app-on-azure-986bc40d5bf2#.pycfnafbg

Special thanks

The web.config is taken from this blogpost