diogomonica/sinatra_geoip
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
This is a very simple sinatra app, built to be run on heroku. It has only one endpoint: /locate , that returns a JSON with the location of the IP address of the requester (using MAXMIND's free location database). # Running locally git clone REPO bundle install bundle exec ruby geolocate.rb # Pushing to your own heroku instance git clone REPO cd REPO heroku create heroku addons:add newrelic:standard heroku config:add RACK_ENV=production git push heroku master
About
Simple IP Geolocation endpoint deployable to heroku
Resources
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published