-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
4cf8b43
commit ef0733d
Showing
1 changed file
with
3 additions
and
9 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 |
---|---|---|
|
@@ -4,7 +4,7 @@ Attempt to create an API to get information about OSM features around a location | |
|
||
## Setup | ||
|
||
## Clone Repository with Submodule | ||
Tested on Linux and WSL: | ||
|
||
```sh | ||
# when cloning the first time | ||
|
@@ -13,17 +13,11 @@ git clone --recursive [email protected]:JakobMiksch/osm_feature_info.git | |
# HTTPS version | ||
git clone --recursive https://github.com/JakobMiksch/osm_feature_info.git | ||
|
||
# if you have cloned already | ||
# if case you forgot to use the "--recursive" flag | ||
git submodule update --init | ||
``` | ||
|
||
### Using Docker | ||
|
||
Tested on Linux and WSL. Adapt for other operating systems. | ||
|
||
```sh | ||
# start services | ||
docker compose up -d postgres pg_featureserv | ||
docker compose up -d --build | ||
|
||
# download sample data | ||
wget -O data/sample.pbf https://download.geofabrik.de/europe/germany/bremen-latest.osm.pbf | ||
|