2023-11-17 17:54:53 -05:00
|
|
|
1. Rename *dist.env* to *.env*. Update the environment variables.
|
2022-02-04 10:46:39 -05:00
|
|
|
2. run osmtile with import script
|
2024-04-01 12:07:45 -04:00
|
|
|
3. Build the images and run the containers:
|
2022-02-03 16:46:54 -05:00
|
|
|
|
|
|
|
```sh
|
2024-03-05 07:45:13 -05:00
|
|
|
$ docker-compose up -d --build --remove-orphans ; docker-compose logs -f --timestamps
|
2022-02-03 16:46:54 -05:00
|
|
|
```
|
2024-04-01 12:36:22 -04:00
|
|
|
4. Initialize db schema using:
|
|
|
|
```sh
|
2024-04-02 04:40:12 -04:00
|
|
|
$ docker-compose exec forest python manage.py format_db
|
2024-04-01 13:03:11 -04:00
|
|
|
$ docker-compose exec forest python manage.py seed_db
|
2024-04-01 12:36:22 -04:00
|
|
|
```
|