The bot now requires a hashing key from pogodev/Bossland hashing key
Ubuntu will be used for the Linux Example
sudo apt-get install build-essential autoconf libtool pkg-config make python2.7-dev wget git
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
brew install autoconf libtool pkg-config wget git
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
- Python 2.7.x
- Be sure to tick "Add python.exe to Path" during as seen here:
- git
- Microsoft Visual C++ Compiler for Python 2.7
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 ..
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 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.