Steem curation report is a small project that will allow you to automatically generate a report of the posts that were curated by x account for the last 24 hours.
- node version 16
- npm
- pm2
Next I will explain how to install all the dependencies of the project.
Run the following commands
sudo apt update && sudo apt install curl
curl -fsSL https://deb.nodesource.com/setup_16.x | sudo -E bash -
sudo apt-get install -y nodejs
Run the following commands
node -v
npm -v
Run the following command
npm install pm2 -g
Within the root folder of the project, that is, where this file is, execute the following command.
npm install
You must create a file called config.js inside the folder of the project and copy all the code from the config-example.js file, then you must complete several options inside the config.js
Once you have installed everything the bot needs and configured it, then you can run it.
Within the root folder of the project, that is, where this file is, execute the following command.
pm2 start curationreport.js
pm2 list
Use pm2 show <id|name>
to get more details about an app
Example:
pm2 show bot
Use pm2 logs <id|name>
to display logs
Example:
pm2 logs bot
This only stops the bot but it will still appear on run
pm2 list
Command to remove:
pm2 stop <id|name>
Example:
pm2 stop bot
pm2 restart <id|name>
Example:
pm2 restart bot
Stop and delete a process from pm2 process list
pm2 delete|del <id|name>
Example:
pm2 delete bot
- Users can only post on Steem once every 5 minutes. If some other activities or reports are planned at the same time, they need to be time spaced.
The project is open for contributions and features requests.
For inquiries and discussion: https://discord.gg/Hf7saBFrn4
GNU GENERAL PUBLIC LICENSE Version 3.
Brought to you by the Symbionts Team.