1
0
Fork 0
mirror of https://github.com/seanmorley15/AdventureLog.git synced 2025-07-24 15:29:36 +02:00

Make comments clearer for self hosting

This commit is contained in:
Sean Morley 2024-09-15 11:10:34 -04:00
parent 3c43f3cfad
commit 3c353fed14
3 changed files with 12 additions and 8 deletions

View file

@ -15,7 +15,7 @@ docker compose up -d
## Updating the Region Data
Region data in AdventureLog is stored in a seeding file. This file can change and there is an easy command to resync the region data without needing any database changes. This can be run by acessing the contianers terminal as follows.
Region and Country data in AdventureLog is provided by an open source project: [dr5hn/countries-states-cities-database](https://github.com/dr5hn/countries-states-cities-database). If you would like to update the region data in your AdventureLog instance, you can do so by running the following command. This will make sure your database is up to date with the latest region data for your version of AdventureLog. For security reasons, the region data is not automatically updated to the latest and is release version is controlled in the `settings.py` file.
```bash
docker exec -it <container> bash
@ -24,5 +24,5 @@ docker exec -it <container> bash
Once you are in the container run the following command to resync the region data.
```bash
python manage.py worldtravel-seed --force
python manage.py download-countries
```