Skip to content

Commit

Permalink
Merge pull request #265 from cofacts/review-category
Browse files Browse the repository at this point in the history
Review category
  • Loading branch information
MrOrz authored Dec 2, 2021
2 parents 045898b + 59e889f commit 3bfbac6
Show file tree
Hide file tree
Showing 7 changed files with 810 additions and 82 deletions.
9 changes: 8 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -143,7 +143,7 @@ Run the docker image on local machine, then visit `http://localhost:5000`.
$ docker run --rm -it -p 5000:5000 --env-file .env cofacts/rumors-api
```

## Cronjob scripts
## Cronjob / management scripts

### Clean up old `urls` entries that are not referenced by any article & reply

Expand Down Expand Up @@ -182,6 +182,13 @@ $ node build/scripts/blockUser.js --userId=<userId> --blockedReason=<Announcemen

- For more options, run the above script with `--help` or see the file level comments.

### Generating a spreadsheet of new article-categories for human review
- To retrieve a spreadsheet of article categories of interest after a specific timestamp, run:
```
$ node build/scripts/genCategoryReview.js -f <ISO Timestamp>
```

- For more options, run the above script with `--help` or see the file level comments.

## One-off migration scripts

Expand Down
Loading

0 comments on commit 3bfbac6

Please sign in to comment.