Skip to content

Commit

Permalink
Merge pull request #892 from openzim/add_fcc_part2
Browse files Browse the repository at this point in the history
Add freecodecamp offliner to worker as well
  • Loading branch information
benoit74 authored Dec 17, 2023
2 parents 9672e25 + 32cd6c0 commit 90a5f14
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 2 deletions.
2 changes: 1 addition & 1 deletion monitor/apps_groups.conf
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@
# -----------------------------------------------------------------------------
# NETDATA processes accounting

scraper: mwoffliner sotoki ffmpeg wget aria2c gifsicle zip unzip zimwriterfs openedx2zim gutenberg2zim warc2zim zimit ted2zim youtube2zim chef kolibri2zim nautiluszim scraper wikihow2zim ifixit2zim
scraper: mwoffliner sotoki ffmpeg wget aria2c gifsicle zip unzip zimwriterfs openedx2zim gutenberg2zim warc2zim zimit ted2zim youtube2zim chef kolibri2zim nautiluszim scraper wikihow2zim ifixit2zim fcc2zim

redis: redis-server

Expand Down
2 changes: 2 additions & 0 deletions workers/app/common/constants.py
Original file line number Diff line number Diff line change
Expand Up @@ -121,6 +121,7 @@
OFFLINER_KOLIBRI = "kolibri"
OFFLINER_WIKIHOW = "wikihow"
OFFLINER_IFIXIT = "ifixit"
OFFLINER_FREECODECAMP = "freecodecamp"

ALL_OFFLINERS = [
OFFLINER_MWOFFLINER,
Expand All @@ -135,6 +136,7 @@
OFFLINER_KOLIBRI,
OFFLINER_WIKIHOW,
OFFLINER_IFIXIT,
OFFLINER_FREECODECAMP,
]
SUPPORTED_OFFLINERS = [
offliner
Expand Down
2 changes: 1 addition & 1 deletion workers/contrib/zimfarm.config.example
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ ZIMFARM_CPU="3"
# Comma-separated list of offliners to run or `""` for all of them. If
# you want to run `youtube` tasks, you need to be whitelisted, contact
# us.
ZIMFARM_OFFLINERS="mwoffliner,sotoki,gutenberg,phet,nautilus,ted,openedx,zimit,kolibri,wikihow,ifixit"
ZIMFARM_OFFLINERS="mwoffliner,sotoki,gutenberg,phet,nautilus,ted,openedx,zimit,kolibri,wikihow,ifixit,freecodecamp"

# Set to `"y"` to only run task specifically assigned to this worker
# (`""` otherwise)
Expand Down

0 comments on commit 90a5f14

Please sign in to comment.