From a069f4a664216e52af677483589f7327b092d303 Mon Sep 17 00:00:00 2001 From: Florent Segouin Date: Sun, 24 Jul 2016 22:29:50 -0700 Subject: [PATCH] Update README with Docker instructions --- README.md | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/README.md b/README.md index 77c4a53af8..8ae74439d0 100644 --- a/README.md +++ b/README.md @@ -209,6 +209,10 @@ To update your project do: `git pull` in the project folder ## How to run with Docker +1. Build the image docker `build -t PokemonGo-Bot:latest .` +2. Start a new container from this newly created image `docker run -d --name pgobot PokemonGo-Bot:latest` +3. Check the logs in real-time `docker logs -f pgobot` + ## How to add/discover new API The example is [here](https://github.com/PokemonGoF/PokemonGo-Bot/commit/46e2352ce9f349cc127a408959679282f9999585) 1. Check the type of your API request in [POGOProtos](https://github.com/AeonLucid/POGOProtos/blob/eeccbb121b126aa51fc4eebae8d2f23d013e1cb8/src/POGOProtos/Networking/Requests/RequestType.proto) For example: RECYCLE_INVENTORY_ITEM