net/README.md

692 B

  1. Rename dist.env to .env. Update the environment variables.

  2. 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
    
  3. Build the images and run the containers:

    $ docker-compose up -d --build --remove-orphans ; docker-compose logs -f --timestamps
    
  4. Initialize db schema using:

    $ docker-compose exec forest python manage.py reset_db