Skip to content

Commit

Permalink
Update local dev docs (#168)
Browse files Browse the repository at this point in the history
* Specify URL to load locally generated pmtimes
*Mention the usage of npm install
  • Loading branch information
aussiegeek authored Oct 31, 2023
1 parent 2691460 commit 9008fdc
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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:

Expand All @@ -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
Expand Down

0 comments on commit 9008fdc

Please sign in to comment.