Skip to content

Commit

Permalink
Update installation.md (#3764)
Browse files Browse the repository at this point in the history
editet Manual install Mac section
  • Loading branch information
devn0ll authored and solderzzc committed Aug 12, 2016
1 parent 471515d commit 912970a
Showing 1 changed file with 54 additions and 6 deletions.
60 changes: 54 additions & 6 deletions docs/installation.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

1 comment on commit 912970a

@gwarfan07
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

i need help with windows 10 install

Please sign in to comment.