martin/demo
Just van den Broecke a864b9981c
Adapt justfiles for Docker Compose command (#1153)
This should solve #1149. See also [my comment there for the
approach](https://github.com/maplibre/martin/issues/11). In short
through a variable that is substituted. Note that this may not work if
an older Docker version is installed without the Python `docker-compose`
script...As both variants will not be present. Maybe add an extra
test+warning msg for that case.

```
dockercompose := `if docker-compose --version &> /dev/null; then echo "docker-compose"; else echo "docker compose"; fi`
.
.
up:
   {{ dockercompose }} up

up-build:
    {{ dockercompose }} up --build
.
.
```

---------

Co-authored-by: Lucas <zhangyijunmetro@hotmail.com>
2024-01-29 13:15:10 -05:00
..
certs Move files to demo/ 2023-05-29 20:36:24 -04:00
db Update and fix demo (#809) 2023-08-15 14:41:12 +02:00
frontend chore(deps-dev): Bump vite from 4.5.1 to 4.5.2 in /demo/frontend (#1145) 2024-01-20 13:35:55 -05:00
.dockerignore Update Docker build process (#1022) 2023-11-23 21:14:32 -05:00
.gitignore Update Docker build process (#1022) 2023-11-23 21:14:32 -05:00
docker-compose.yml Fix demo (#841) 2023-08-26 09:52:43 -04:00
justfile Adapt justfiles for Docker Compose command (#1153) 2024-01-29 13:15:10 -05:00
README.md Update and fix demo (#809) 2023-08-15 14:41:12 +02:00

Martin Use Case

Usage in Docker-Compose

just up