From 912970af70393a308f6f2c13548a8bc81bc9befa Mon Sep 17 00:00:00 2001 From: devn0ll Date: Fri, 12 Aug 2016 20:00:03 +0200 Subject: [PATCH] Update installation.md (#3764) editet Manual install Mac section --- docs/installation.md | 60 +++++++++++++++++++++++++++++++++++++++----- 1 file changed, 54 insertions(+), 6 deletions(-) diff --git a/docs/installation.md b/docs/installation.md index b8951f62d2..3f68512d1b 100644 --- a/docs/installation.md +++ b/docs/installation.md @@ -116,12 +116,60 @@ source bin/activate ### Installation Mac (change master to dev for the latest version) -``` -$ git clone --recursive -b master https://github.com/PokemonGoF/PokemonGo-Bot -$ cd PokemonGo-Bot -$ virtualenv . -$ source bin/activate -$ pip install -r requirements.txt +```bash +##install +#go to your home directory with the console +brew install --devel protobuf +brew install autoconf libtool pkg-config wget git +#install pip +wget https://bootstrap.pypa.io/get-pip.py +python2.7 get-pip.py +rm -f get-pip.py +#get git repo +git clone --recursive -b master https://github.com/PokemonGoF/PokemonGo-Bot +cd PokemonGo-Bot +#install and enable virtualenv +#You need to make shure your python version and virtualenv verison work together +#install virtualenv and activate it +pip install virtualenv +virtualenv . +source bin/activate +#then install the requierements +pip install -r requirements.txt + +##get the encryption.so and move to right folder +wget http://pgoapi.com/pgoencrypt.tar.gz +tar -xzvf pgoencrypt.tar.gz +cd pgoencrypt/src/ +make +cd ../../ +#make the encrypt able to load +mv pgoencrypt/src/libencrypt.so encrypt.so + +##edit the configuration file +cp configs/config.json.example configs/config.json +vi configs/config.json +# gedit is possible too with 'gedit configs/config.json' +#edit "google" to "ptc" if you have a pokemon trainer account +#edit all settings + + +##update to newest +#if you need to do more i'll update this file +#make shure virtualenv is enabled and you are in the correct folder +git pull +pip install -r requirements.txt + +##start the bot +./run.sh configs/config.json + +##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 startet installing it an then +cd PokemonGo-Bot +#activate virtualenv and start +source bin/activate +./run.sh configs/config.json ``` ### Installation Windows