Skip to content

Commit

Permalink
Deployment instructions
Browse files Browse the repository at this point in the history
  • Loading branch information
amenk committed Jun 2, 2024
1 parent 2011024 commit 0fcc238
Showing 1 changed file with 23 additions and 0 deletions.
23 changes: 23 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -106,3 +106,26 @@ PHPunit tests are automatically executed in the GitHub action.
npx cypress open --e2e --browser chrome
```

## Deployment blended together with osmapp via Docker

This is meant to work together with [OsmApp, OpenPlaceGuide fork](https://github.com/OpenPlaceGuide/osmapp) which runs
on the root path of the page and proxies all other requests to opg-pages.

* build osmapp and Docker-Tag as `osmapp` (in the osmapp folder)

```bash
cd ../osmapp && docker build --build-arg PROXY_BACKEND=http://opg-pages/ . -t osmapp
```

* build this app
```bash
docker build . -t opg-pages
```

Start
```bash
docker compose up -d
```

Access http://localhost:3000

0 comments on commit 0fcc238

Please sign in to comment.