Skip to content
This repository has been archived by the owner on Oct 5, 2021. It is now read-only.

Commit

Permalink
Update README_docker.md
Browse files Browse the repository at this point in the history
  • Loading branch information
foxmask committed Dec 19, 2016
1 parent 07b5c88 commit 4e578e4
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions README_docker.md
Original file line number Diff line number Diff line change
Expand Up @@ -21,3 +21,13 @@ docker-compose up
docker-compose run web python manage.py migrate --settings=django_th.settings_docker
docker-compose run web python manage.py createsuperuser --settings=django_th.settings_docker
```


## Running tasks

2 tasks are usually in the crontab : one to read the data source, one to publish the grabbed data:

```
docker-compose run web python manage.py read --settings=django_th.settings_docker
docker-compose run web python manage.py publish --settings=django_th.settings_docker
```

0 comments on commit 4e578e4

Please sign in to comment.