Skip to content
Raymond Piller edited this page Aug 7, 2016 · 16 revisions

CAUTION: Heroku has been IP blocked by Niantic and your map as of the July 31 release, will not run from Heroku. That means Heroku Deploys may be effectively dead unless the IP that pings Niantic is tunneled from somewhere else.

Documentation

Deploy

This project supports deploying a new app to Heroku using the "Deploy to Heroku" button. Clicking this button will walk you through setting up the project on your Heroku account, allowing you to set the various configuration values required to make the project run.

Manually deploying to Heroku

To manually deploy this app to Heroku, perform the following steps:

  1. Get a local copy of the project git clone https://github.com/PokemonGoMap/PokemonGo-Map.git

  2. Create a Heroku app for the project heroku create insertyourappname

  3. Set the required configuration parameters for the app, replace with your actual values.

heroku config:set AUTH_SERVICE=insertyourauthservicehere
heroku config:set USERNAME=insertyourusernamehere
heroku config:set PASSWORD=insertyourpasswordhere
heroku config:set LOCATION=insertyourlocationhere
heroku config:set STEP_COUNT=insertyourstepcounthere
heroku config:set GMAPS_KEY=inseryourgmapskeyhere
heroku config:set EXTRA_ARGS=optional_extra_arguments
  1. Add nodejs buildpack
heroku buildpacks:add --index 1 heroku/nodejs
  1. Push the project develop branch to the master branch on Heroku
git checkout develop
git push heroku develop:master