Skip to content

Commit

Permalink
Merge pull request #7 from OpenHistoricalMap/readme_updates
Browse files Browse the repository at this point in the history
Update readme to deploy overpass-turbo - frontend
  • Loading branch information
danrademacher authored Feb 7, 2023
2 parents d66745b + ffadbe5 commit 43d1d9a
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,11 @@ Development is done in the _master_ branch, stable releases are marked with git
2. `npm start` for a Development server listening at http://localhost:8080
3. `npm run build` for a minified build in `./build`

### deploying to GH Pages
## Deploy to Staging and Production

Running `npm run deploy` will do `npm run build && gh-pages -d build` and deploy the build artifacts to the GH Pages branch.
Overpass-turbo has been configured in [OHM-deploy](https://github.com/OpenHistoricalMap/ohm-deploy) to deployment in production and staging, you just need to update the gitsha you want to launch [here](https://github.com/OpenHistoricalMap/ohm-deploy/blob/main/.github/workflows/frontend-overpass.yaml#L36). Gtihub action will automatically deploy the changes.

Changes can be see it at:

- Production: https://overpass-turbo.openhistoricalmap.org/
- Staging: https://overpass-turbo-staging.openhistoricalmap.org/

0 comments on commit 43d1d9a

Please sign in to comment.