data | ||
forest | ||
rfront | ||
.gitignore | ||
docker-compose.yml | ||
LICENSE | ||
README.md | ||
swagger.yaml | ||
variables.env.dist |
-
Rename dist.env to .env. Update the environment variables.
-
run osmtile with import script
$ docker run \ -e UPDATES=enabled \ -e DOWNLOAD_PBF=https://download.geofabrik.de/europe/bulgaria-latest.osm.pbf \ -e DOWNLOAD_POLY=https://download.geofabrik.de/europe/bulgaria.poly \ -v "/root/forest-net/data/osmtile/pgdata:/data/database/" \ overv/openstreetmap-tile-server \ import
-
Build the images and run the containers:
$ docker-compose up -d --build --remove-orphans ; docker-compose logs -f --timestamps
-
Initialize db schema using:
$ docker-compose exec forest python manage.py reset_db