planetiler/quickstart-from-source.sh

17 wiersze
413 B
Bash
Czysty Zwykły widok Historia

2021-10-20 01:57:47 +00:00
#!/usr/bin/env bash
set -e
AREA="${1:-monaco}"
2022-02-25 02:21:19 +00:00
shift || echo ""
echo "Will build planetiler, download sources for ${AREA}, and make a map."
echo "This requires at least 1GB of disk space. Press Ctrl+C to exit..."
sleep 5
2021-10-20 01:57:47 +00:00
echo "Building..."
./mvnw -DskipTests=true --projects planetiler-dist -am package
2021-10-20 01:57:47 +00:00
echo "Running..."
2022-02-25 02:21:19 +00:00
java -jar planetiler-dist/target/*with-deps.jar --force --download --area="${AREA}" $*