Skip to content
master
Go to file
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
 
 
 
 
 
 

README.md

georesolver

Simple asynchronous web server for resolving ip address into geo data using sypex geo database (https://sypexgeo.net). Requires twisted and pysyge library to be installed.

Required packages (example for Ubuntu):

  • python
  • python-dev
  • python-virtualenv
  • python-pip

How to install (in work dir):

  • virtualenv .
  • . ./bin/activate
  • pip install twisted pysyge
  • git clone https://github.com/KPACHbIuLLIAnO4/georesolver
  • cd georesolver
  • python setup.py build
  • python setup.py install
  • (download file SxGeoCity.dat and put it into any accessible directory)

How to start (in work dir):

  • . ./bin/activate
  • cd georesolver
  • twistd resolver --host localhost --port 8080 --file ./SxGeoCity.dat

How to shutdown:

  • kill `cat twistd.pid`

How to bind on all interfaces:

  • twistd resolver --host '' --port 8080 --file ./SxGeoCity.dat

How to use:

About

No description, website, or topics provided.

Resources

Releases

No releases published

Languages

You can’t perform that action at this time.