From 9008fdc9802b5be1baae0d263dc45123113b6fcf Mon Sep 17 00:00:00 2001 From: Alan Harper <475+aussiegeek@users.noreply.github.com> Date: Tue, 31 Oct 2023 16:11:24 +0000 Subject: [PATCH] Update local dev docs (#168) * Specify URL to load locally generated pmtimes *Mention the usage of npm install --- README.md | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 69601001..80187f36 100644 --- a/README.md +++ b/README.md @@ -7,7 +7,7 @@ This repository has two core parts: ## Development -You will need [Java 21+](https://github.com/onthegomap/planetiler/blob/main/CONTRIBUTING.md) and [Maven](https://maven.apache.org/install.html) installed, which is available in most package managers. +You will need [Java 21+](https://github.com/onthegomap/planetiler/blob/main/CONTRIBUTING.md) and [Maven](https://maven.apache.org/install.html) installed, which is available in most package managers. Generate and inspect a basemap PMTiles of any named area: @@ -32,9 +32,12 @@ java -jar target/*-with-deps.jar --download --force --area=monaco ```shell cd app +npm install npm run dev ``` +The locally generated pmtiles can be fetched from http://localhost:5173/monaco.pmtiles + 5. Linting to apply code formatting ```shell