maxminddb-c-binding.cr 0.3.0
PROJECT MOVED: https://github.com/delef/maxminddb.cr
Pure Crystal GeoIP2 MaxMind DB binding
Installation C-lib
From the Git Repository
To install from Git, you will need automake, autoconf, and libtool installed in addition to make and a compiler.
Our public git repository is hosted on GitHub at https://github.com/maxmind/libmaxminddb
You can clone this repository and build it by running:
$ git clone --recursive https://github.com/maxmind/libmaxminddb
After cloning, run ./bootstrap
from the libmaxminddb
directory and then follow the instructions for installing from a tarball as described above.
On Ubuntu via PPA
MaxMind provides a PPA for recent version of Ubuntu. To add the PPA to your APT sources, run:
$ sudo add-apt-repository ppa:maxmind/ppa
Then install the packages by running:
$ sudo aptitude update
$ sudo aptitude install libmaxminddb0 libmaxminddb-dev mmdb-bin
On OS X via Homebrew
If you are on OS X and you have homebrew (see http://brew.sh/) you can install libmaxminddb via brew.
$ brew install libmaxminddb
Installation
Add this to your application's shard.yml
:
dependencies:
geoip2:
github: delef/geoip2.cr
Usage
require "geoip2"
TODO: Write usage instructions here
Development
TODO: Write development instructions here
Contributing
- Fork it ( https://github.com/delef/geoip2.cr/fork )
- Create your feature branch (git checkout -b my-new-feature)
- Commit your changes (git commit -am 'Add some feature')
- Push to the branch (git push origin my-new-feature)
- Create a new Pull Request
Contributors
maxminddb-c-binding.cr
- 3
- 3
- 0
- 0
- 0
- over 6 years ago
- June 17, 2017
MIT License
Thu, 07 Nov 2024 09:22:49 GMT