Skip to content

Commit 4d1c676

Browse files
committed
Document running periodic data import on Heroku
Signed-off-by: Haiko Schol <hs@haikoschol.com>
1 parent b8bdbb4 commit 4d1c676

1 file changed

Lines changed: 10 additions & 0 deletions

File tree

README.md

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -138,3 +138,13 @@ https://devcenter.heroku.com/articles/deploying-python#how-to-keep-build-artifac
138138
9. Load the data referring to chapter "Data import" above.
139139

140140
10. To check the logs: `heroku logs --tail`
141+
142+
### Periodic Data Import
143+
144+
Note: Running jobs with Heroku Scheduler might incur costs. If you haven't already, you need to add a credit card in your account (https://dashboard.heroku.com/account/billing).
145+
146+
1. Install the Scheduler add-on: `heroku addons:create scheduler:standard`
147+
148+
2. Open the Scheduler dashboard: `heroku addons:open scheduler`
149+
150+
3. Click on "Create job" and enter `python manage.py import --all` under "Run Command"

0 commit comments

Comments
 (0)