Skip to content

Latest commit

 

History

History
158 lines (113 loc) · 3.53 KB

manual_installation.md

File metadata and controls

158 lines (113 loc) · 3.53 KB

Manual installation

The bot now requires a hashing key from pogodev/Bossland hashing key

Table of Contents

Linux and Mac

Ubuntu will be used for the Linux Example

First install required packages

Linux - Ubuntu
sudo apt-get install build-essential autoconf libtool pkg-config make python2.7-dev wget git
Linux - Centos 7
sudo yum install -y epel-release
sudo yum install -y git wget python python-pip
sudo yum groupinstall -y "Development Tools"

if you are on a different Linux OS you maybe have to adapt things like:

  • package manager (for example yum instead of apt-get)
  • package names
Mac
brew install autoconf libtool pkg-config wget git

Mac + Linux installation

Make sure you installed everything above before proceeding.

  • get pip for python2.7
wget https://bootstrap.pypa.io/get-pip.py
python2.7 get-pip.py
rm -f get-pip.py
  • switch to the location where you want to install it
  • get git Repository and switch into the downloaded Folder

(Please keep in mind that master is stable and tested but dev is bleeding edge. In the installation note below change master to dev if you want to get and use the latest version.)

git clone --recursive -b master https://github.com/PokemonGoF/PokemonGo-Bot.git
cd PokemonGo-Bot

  • install virtualenv and activate it
pip install virtualenv
virtualenv .
source bin/activate

  • install the requirements
pip install -r requirements.txt

  • copy and edit the config (after copying it you can use any editor you like if you don't like vi)
cd ../PokemonGo-Bot/configs/
cp configs/config.json.example configs/config.json
vi configs/config.json
cp configs/auth.json.example configs/auth.json
vi configs/auth.json

  • make sure your git repo is up to date (make sure you are in the bot folder and activated virtualenv)
git pull
pip install -r requirements.txt

  • finally start the bot
./run.sh

  • after reboot or closing the terminal at every new start go into the folder of the PokemonGo-Bot by going into the folder where you started installing it and then
cd PokemonGo-Bot
#activate virtualenv and start
source bin/activate
./run.sh

Windows

Requirements

Run the following commands in the Command Prompt with Administrator Privileges

cd C:\Python27\
pip install --upgrade pip
cd ..
cd to PokemonGo-Bot directory
git clone --recursive -b dev https://github.com/PokemonGoF/PokemonGo-Bot.git
pip install --upgrade -r requirements.txt
git pull
cd web
git checkout master
git pull
cd ..

Update

Run the following commands in the Command Prompt with Administrator Privileges

cd to PokemonGo-Bot directory
git pull
git submodule update --init --recursive

Chrome Driver

Chrome driver is needed for manual solving of captcha. For more information and download of Chrome Driver, please visit Chrome Driver

Chrome driver must be placed in root dir of the bot.