Skip to content

Commit

Permalink
Add entrypoint to stats container run command
Browse files Browse the repository at this point in the history
  • Loading branch information
jwbensley committed Oct 6, 2023
1 parent efc3078 commit 0bc0446
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions docker/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -109,19 +109,19 @@ done

Generate stats in the DB for a specific day:
```shell
docker-compose run --rm --name tmp_stats dnas_stats -- \
docker-compose run --rm --name tmp_stats --entrypoint /opt/pypy dnas_stats -- \
/opt/dnas/dnas/scripts/stats.py --update --enabled --daily --ymd "20230101"
```

Generate and push a report to git for a specific day:
```shell
docker-compose run --rm --name tmp_report dnas_stats -- \
docker-compose run --rm --name tmp_report --entrypoint /opt/pypy dnas_stats -- \
/opt/dnas/dnas/scripts/git_reports.py --generate --publish --ymd "20230101"
```

Tweet for a specific day:
```
docker-compose run --rm --name tmp_tweet dnas_stats -- \
docker-compose run --rm --name tmp_tweet --entrypoint /opt/pypy dnas_stats -- \
/opt/dnas/dnas/scripts/tweet.py --generate --tweet --ymd "20230101"
```

Expand Down

0 comments on commit 0bc0446

Please sign in to comment.