Installation & Setup

Michael Barrett edited this page Jun 5, 2018 · 20 revisions

Jankbot Installation

This page has the installation instructions for Jankbot

You will need:

  • NodeJS v8.9.1 or higher
  • NPM (comes with NodeJS)
  • A Steam account with full privileges (and Steam Guard disabled, at least one purchase)

Keep in mind that in order to have a fully privileged Steam account, you must make at least one transaction on the account. If you do not do this, you will not be able to add the bot to your friends list.

To disable Steam Guard, log into Steam with the account, go to the 'Steam' menu dropdown and choose 'Settings'. Click on the 'Account' tab then click on the 'Manage Steam Guard Account Security' button and disable it.

Installation Instructions

  1. Download the latest release of Jankbot here on Github.
  2. Next, using a terminal, run: cd /path/to/jankbot/folder (Be sure to use the path you unzipped it to!)
  3. Run npm install --production You will see a bunch of text. You may see a lot of warnings. Don't worry about that stuff. If you get error messages and it stops quickly, you may have an issue with the version of NodeJS you have installed. Be sure it is version 8.9.1 or higher.
  4. Run npm run config and go through the steps.

You can also Manually create the config file if you want.

Once everything is set up, you can run jankbot with npm start.

If you want to use pm2 to keep Jankbot running, you can use pm2 start jankbot.js instead of npm start. You must have pm2 installed to do this (npm install -g pm2, may require admin privileges depending on your OS).