diff --git a/Docs/ServerConfig/cache/cache.txt b/Docs/ServerConfig/cache/cache.md similarity index 89% rename from Docs/ServerConfig/cache/cache.txt rename to Docs/ServerConfig/cache/cache.md index ddda8f29a..df11db46d 100644 --- a/Docs/ServerConfig/cache/cache.txt +++ b/Docs/ServerConfig/cache/cache.md @@ -10,6 +10,6 @@ https://dynamicdns.park-your-domain.com/update?host=cache&domain=mapcomplete.org ## Setup -See SettingUpPSQL.md +See [SettingUpPSQL.md](../SettingUpPSQL.md) diff --git a/Docs/SettingUpPSQL.md b/Docs/SettingUpPSQL.md index 7b19dccad..b615129bb 100644 --- a/Docs/SettingUpPSQL.md +++ b/Docs/SettingUpPSQL.md @@ -59,11 +59,13 @@ HP ProLiant DL360 G7 (1U): 2Rx4 DDR3-memory (PC3) ## Deploying a tile server -pg_tileserv kan hier gedownload worden: https://github.com/CrunchyData/pg_tileserv +pg_tileserv can be downloaded here: https://github.com/CrunchyData/pg_tileserv + +In the directory where it is downloaded (e.g. `~/data`), run ```` export DATABASE_URL=postgresql://user:password@localhost:5444/osm-poi -nohup ./pg_tileserv & +nohup ./pg_tileserv > pg_tileserv.log & ```` Tiles are available at: @@ -74,6 +76,10 @@ map.addSource("drinking_water", { }) ```` +# Starting the summary server + +`npm run summary-server` in the git repo + # Rebooting: -> Restart the docker container