Update README.md

This commit is contained in:
DracoMilesX 2016-08-30 11:53:32 +02:00 committed by GitHub
parent a657298721
commit a7c01a382e

View File

@ -58,3 +58,15 @@ The required database tables get generated automatically.
You need at minimum [Node.js](https://nodejs.org/en/) version 6.x.
Depending on your OS, you need to run either ``run-linux.sh`` or ``run-windows.bat`` from the root folder.
## Docker setup
1. Download ``cfg.js.example`` and ``supervisord.conf`` from github.
2. Place the ``Dockerfile``, ``cfg.js.example`` and ``supervisord.conf`` in the same folder. Rename ``cfg.js.example`` to ``cfg.js``
3. Modify the ``cfg.js`` to your likings and don't forget add your credentials and possible to your own gmaps api. (DO NOT CHANGE THE PORT. IF YOU DO YOU NEED TO CHANGE IT IN THE Dockerfile ASWELL.)
4. Create a container and run it.
5. Open a bash prompt and use ``cd /POGOserver/`` and then run ``./run-linux.sh``
6. Connect your PoGo app with the server
7. Enjoy:)
NOTE: Instead of automatically mapping the ports map them static so they don't change after reboots.