[openstreetmap/openstreetmap-website] Add Docker Compose Support for Development Environment (#2409)
Tobias
notifications at github.com
Mon Dec 28 18:43:40 UTC 2020
@tordans commented on this pull request.
> +For example, let's download the District of Columbia from Geofabrik:
+
+ wget https://download.geofabrik.de/north-america/us/district-of-columbia-latest.osm.pbf
+
+You can now use Docker to load this extract into your local Docker-based OSM instance:
+
+ docker-compose run --rm web osmosis \
+ -verbose \
+ --read-pbf district-of-columbia-latest.osm.pbf \
+ --write-apidb \
+ host="db" \
+ database="openstreetmap" \
+ user="openstreetmap" \
+ validateSchemaVersion="no"
+
+Once you have data loaded for Washington, DC you should be able to navigate to `http://localhost:3000/#map=12/38.8938/-77.0146` to begin working with your local instance.
```suggestion
Once you have data loaded for Washington, DC you should be able to navigate to [`http://localhost:3000/#map=12/38.8938/-77.0146`](http://localhost:3000/#map=12/38.8938/-77.0146) to begin working with your local instance.
```
--
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/openstreetmap/openstreetmap-website/pull/2409#pullrequestreview-559260181
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/rails-dev/attachments/20201228/118da389/attachment-0001.htm>
More information about the rails-dev
mailing list