Skip to content

mullwaden/azure-appservice-static

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

Deploy static site to azure AppService.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Shell 100.0%