forked from PokemonGoF/PokemonGo-Bot
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Added "install.sh" and "run.sh" as well as a config.json bug fix in p…
…okecly.py (PokemonGoF#912) * Fixed a bug where the bot crashed if 'catch' or 'release' wasn't specified in config.json * Added install.sh and run.sh
- Loading branch information
Showing
3 changed files
with
30 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
#!/usr/bin/env bash | ||
|
||
# Setup Python virtualenv | ||
echo "Setting up Python virtualenv..." | ||
eval "virtualenv ." | ||
eval "source bin/activate" | ||
echo "Python virtualenv setup successfully." | ||
|
||
# Install pip requirements | ||
echo "Installing pip requirements..." | ||
eval "pip install -r requirements.txt" | ||
echo "Installed pip requirements." | ||
echo "Installing and updating git submodules..." | ||
|
||
# Install git submodules | ||
eval "cd ./web && git submodule init && cd .." | ||
eval "git submodule update" | ||
echo "Done." | ||
echo "Please create and setup configs/config.json. Then, run 'python pokecli.py --config ./configs/config.json' or './run.sh' on Mac/Linux" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
#!/usr/bin/env bash | ||
|
||
# Assumes the config file is created and named config.json | ||
# Starts PokemonGo-Bot | ||
eval "python pokecli.py --config ./configs/config.json" |