No description
Find a file
2024-04-03 04:36:36 +03:00
data add flask-migrate init files 2024-04-01 19:21:40 +03:00
src/forest fix Serializer import 2024-04-03 04:36:36 +03:00
.gitignore add flask-migrate init files 2024-04-01 19:21:40 +03:00
dist.env fix initdb 2024-04-01 19:05:39 +03:00
docker-compose.yml set migrations volume 2024-04-01 19:16:26 +03:00
LICENSE lic 2022-02-04 01:27:48 +02:00
README.md rename create_db to format_db since it can reinitialize existing dbs 2024-04-02 11:40:12 +03:00
swagger.yaml example swagger.yaml 2022-02-04 01:54:18 +02:00

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

  2. run osmtile with import script

  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 format_db
    $ docker-compose exec forest python manage.py seed_db