-
-
Notifications
You must be signed in to change notification settings - Fork 216
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Use `postgis/postgis` image for the DB * Build frontend image inside the docker * Upgrade all packages except styled-components - that one causes some errors * Add yarn.lock to the repo * Add justfile for simplicity * Bump martin docker image version in a few places
- Loading branch information
Showing
9 changed files
with
2,737 additions
and
370 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,13 +1,9 @@ | ||
# Martin Use Case | ||
|
||
## Usage | ||
## Usage in Docker-Compose | ||
|
||
```shell | ||
docker-compose up | ||
just up | ||
``` | ||
|
||
Open `localhost` in your browser | ||
|
||
# Requirements | ||
|
||
Frontend requires [martin v0.6.2](https://github.com/maplibre/martin/tree/v0.6.2) | ||
* Open http://localhost in your browser |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
#!/usr/bin/env just --justfile | ||
|
||
set shell := ["bash", "-c"] | ||
|
||
@_default: | ||
just --list --unsorted | ||
|
||
clean: | ||
rm -rf frontend/node_modules | ||
|
||
up: | ||
docker-compose up | ||
|
||
up-build: | ||
docker-compose up --build | ||
|
||
up-backend: | ||
docker-compose up db tiles --detach | ||
|
||
frontend *ARGS: | ||
docker-compose up frontend {{ ARGS }} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters