Skip to content
Discussion options

You must be logged in to vote

Usage

Basic Usage

  1. Start redis server (docker-compose up -d)

Redis server config is in lib/const.js

  1. Start crawler (npm start)

This will use pm2 to start the crawler in the background.
You can use npm run logs to monitor the crawler.

  1. Put some jobs into the queue (node index.js --init)

This will put some jobs into the queue based off the lists in lib/const.js

More Details Here:
https://github.com/tgxn/lemmy-explorer/blob/main/crawler/README.md

Replies: 2 comments

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Answer selected by tgxn
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants