项目
在 GitHub 查看

maierfelix/POGOserver
关于
Pokémon GO 服务器模拟器。
游戏与模拟器实测星标增长
- 24小时
- 0
- 7天
- +1
- 15天
- +1
- 1个月
- 正在收集历史
各周期内的星标净变化,周期相互重叠,并非每日新增。缺失的测量保持空白。星标代表关注度,不代表软件质量。
README.md
原文 ______ _____ _____ _____
| ___ \ _ | __ \ _ |
| |_/ / | | | | \/ | | | ___ ___ _ ____ _____ _ __
| __/| | | | | __| | | |/ __|/ _ \ '__\ \ / / _ \ '__|
| | \ \_/ / |_\ \ \_/ /\__ \ __/ | \ V / __/ |
\_| \___/ \____/\___/ |___/\___|_| \_/ \___|_|

Getting started
Setup
Copy and rename cfg.js.example to cfg.js.
Open cfg.js and fill the following fields:
DOWNLOAD_PROVIDER: "GOOGLE";
DOWNLOAD_USERNAME: "USERNAME";
DOWNLOAD_PASSWORD: "PASSWORD";
Tunneling setup
The pokemon go app traffic has to get forwarded manually to this custom server. Download rastapasta's Pokemon Go Xposed app and follow the installation instructions here.
Database setup
To setup a database connection, open cfg.js and change the database login credentials:
MYSQL_PORT: 3306,
MYSQL_HOST_IP: "127.0.0.1",
MYSQL_DB_NAME: "pogosql",
MYSQL_USERNAME: "root",
MYSQL_PASSWORD: "",
The required database tables get generated automatically.
Server setup
You need at minimum Node.js version 6.x.
Open up a terminal and enter npm run boot to start the server or npm run api to start the web-api.
To Update the Server enter npm run update
Docker setup
- Download
Dockerfile,cfg.js.exampleandsupervisord.conffrom github. - Place
Dockerfile,cfg.js.exampleandsupervisord.confinto the same folder. Renamecfg.js.exampletocfg.js. - Modify
cfg.jsto your requirements as described above. - Create a container and run it.
- Open a bash prompt, enter:
cd /POGOserver/and enternpm run boot. - Connect the Pokemon Go app to the server.
- Done.
Note: Instead of automatically mapping the ports, map them static, so they don't change after reboot.
探索相关项目
加载中…