Skip to content

Commit 696164a

Browse files
authored
Update README.md
1 parent a323ab3 commit 696164a

1 file changed

Lines changed: 5 additions & 13 deletions

File tree

README.md

Lines changed: 5 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -147,15 +147,11 @@ python manage.py runserver
147147
# Start the app with specific configurations for development
148148
OPTIMAP_CACHE=dummy OPTIMAP_DEBUG=True python manage.py runserver
149149

150-
## Manually regenerating the GeoJSON / GeoPackage cache
151-
152-
1. **Via Django-Q cluster**
153-
If you already have a Q cluster running (e.g. `python manage.py qcluster`), you can simply add the job to the schedule table (once) by running:
154-
python manage.py schedule_geojson
155-
156-
2. **One‐off via the Django shell**
157-
If you just want a “right‐now” rebuild (without waiting for the next 6-hour tick), drop into a one-liner:
158-
python manage.py shell -c "from publications.tasks import regenerate_geojson_cache; regenerate_geojson_cache()"
150+
# Manually regenerating data export files (GeoJSON / GeoPackage cache)
151+
## Via Django-Q cluster: if you already have a Q cluster running (e.g. `python manage.py qcluster`), you can simply add the job to the schedule table (once) by running:
152+
python manage.py schedule_geojson
153+
## One‐off via the Django shell: if you just want a “right‐now” rebuild (without waiting for the next 6-hour tick), drop into a one-liner:
154+
python manage.py shell -c "from publications.tasks import regenerate_geojson_cache; regenerate_geojson_cache()"
159155
```
160156

161157
Now open a browser at <http://127.0.0.1:8000/>.
@@ -400,10 +396,6 @@ python manage.py qmonitorq
400396
python manage.py qinfo
401397
```
402398

403-
### Trigger creation of data export files
404-
405-
TODO
406-
407399
## License
408400

409401
This software is published under the GNU General Public License v3.0 (see file `LICENSE`).

0 commit comments

Comments
 (0)