pokelocater icon indicating copy to clipboard operation
pokelocater copied to clipboard

Run it on own CentOs?

Open ddiesenreither opened this issue 8 years ago • 6 comments

Hi guys,

i want to run this beautiful tool on my own server and here my questions:

How can i change the port used by the script? What do i have to change to get it running on my server?

ddiesenreither avatar Jul 21 '16 10:07 ddiesenreither

To change the port, start the server like this: python manage.py runserver localhost:port

What issues are you having running this on CentOs? You may be missing some packages. Try this, particularly the section titled "Install Packages from the CentOS and EPEL Repos"

ngunia avatar Jul 21 '16 14:07 ngunia

ok thanks for the reply, but when i run the command it says:

Performing system checks...

System check identified no issues (0 silenced). July 21, 2016 - 17:04:31 Django version 1.8, using settings 'hackathon.settings' Starting development server at http://localhost:7000/ Quit the server with CONTROL-C.

but nothing shows up when i open the address, i also filled in my Google Maps API Key, the Pokemon Trainer Club Account in the app.json. The Google Account Constants are empty because i have no Pokemon Google Account. Why does nothing shows up?

ddiesenreither avatar Jul 21 '16 15:07 ddiesenreither

I changed "localhost" to "0.0.0.0" and now its running and showing up. But i get an InvalidKeyMapError from Google Maps - which API's do i need?

ddiesenreither avatar Jul 21 '16 15:07 ddiesenreither

Ok fixed it, thank you only one more question:

how can i raise the search radius? is this possible?

ddiesenreither avatar Jul 21 '16 15:07 ddiesenreither

@ddiesenreither i'm trying too as well if you have more information feel free to let me know

equals215 avatar Jul 23 '16 09:07 equals215

Just run it like so...

python manage.py runserver 123.123.123.123:1337

bbashy avatar Jul 23 '16 10:07 bbashy