Go to file
2024-04-05 18:18:22 +03:00
data add flask-migrate init files 2024-04-01 19:21:40 +03:00
src/forest remove menu button 2024-04-05 18:18:22 +03:00
.gitignore rename env var config file 2024-04-03 19:43:09 +03:00
docker-compose.yml upgrade pgadmin to 8.5 2024-04-05 12:54:28 +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
variables.env.dist provide ITEMS_PER_PAGE variable 2024-04-03 20:04:06 +03: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