Intermediate
you must have installed the following requirements,otherwise you may find these tutorials difficult.
we need to clone or download the fossbot voter repository ( https://github.com/Steem-FOSSbot/steem-fossbot-voter)
After the download, we go to the folder where we cloned or extracted the bot and open a terminal,
in which we will execute the following commands one after the other
npm install
npm rebuild
with this we have the bot ready to be executed.
to run the bot we must use the heroku console, to use that console we must simply execute the command "heroku", but first we must create a file with .env extension
which must contain the following :
STEEM_USER=test
POSTING_KEY_PRV=testpostingkey
BOT_API_KEY= testapikey
EMAIL_ADDRESS_TO=none
EMAIL_ADDRESS_SENDER=none
SENDGRID_API_KEY=none
COOKIE_SECRET=pk7uKiAbQHcVxNBLQVnBwbwd
VERBOSE_LOGGING=false
MONGODB_URI=testmongodburi
taking a bit of the installation tutorial we will explain the variables a bit, you can check tutorial
here
Once the file is created, we will execute the bot with the following command
heroku local -e env.env
If the whole process went well, you must access through a browser to the address that gave us heroku which is usually http://localhost:5000/ and we will see the following screen:
we will place the password that we assign in the file and we will be ready to use the bot