https://github.com/ulrikstrid/azure-appservice-static
Deploy static site to azure AppService.
https://github.com/ulrikstrid/azure-appservice-static
azure azure-app-service create-react-app
Last synced: 7 months ago
JSON representation
Deploy static site to azure AppService.
- Host: GitHub
- URL: https://github.com/ulrikstrid/azure-appservice-static
- Owner: ulrikstrid
- License: mit
- Created: 2017-03-10T12:57:05.000Z (over 8 years ago)
- Default Branch: master
- Last Pushed: 2017-04-07T11:32:04.000Z (over 8 years ago)
- Last Synced: 2025-03-27T03:41:35.427Z (7 months ago)
- Topics: azure, azure-app-service, create-react-app
- Language: Shell
- Size: 4.88 KB
- Stars: 39
- Watchers: 2
- Forks: 24
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# 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:
```json
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](https://medium.com/@to_pe/deploying-create-react-app-on-microsoft-azure-c0f6686a4321#.kvehlxn7k)