Coder Social home page Coder Social logo

zaarly / heroku-buildpack-maxmind Goto Github PK

View Code? Open in Web Editor NEW

This project forked from rinse-inc/heroku-buildpack-maxmind

0.0 1.0 0.0 13 KB

Ensure your application has the latest copy of MaxMind data when deploying.

License: MIT License

Shell 100.00%

heroku-buildpack-maxmind's Introduction

NOTE: this is a fork from https://github.com/mantisadnetwork/heroku-buildpack-maxmind. It only deals with the free downloadable databases from MaxMind.

MaxMind Build Pack

Ensure your application has the latest copy of MaxMind's GeoLite2 free downloadable databases when deploying. Ideally, you should have a way to restart your application to make sure this build back happens often enough (if you deploy daily/weekly, you have nothing to worry about).

How it Works

The database file(s) is saved to a Heroku cache directory that is persisted across builds. If the database file does not exist, or is older than a month, a new copy is downloaded and moved to your project before deployment. All database files are stored in the root of your project when deployed.

Required Environment Variables

  • MAXMIND_EDITIONS = Comma delimited list of databases to download ie: "GeoLite2-City,GeoLite2-Country"
  • MAXMIND_KEY = License key necessary to download MaxMind GeoLite2 databases.

How to Use

Follow the instructions at https://github.com/ddollar/heroku-buildpack-multi for using multiple build packs. Simply add this repository to this list and wallah!

heroku-buildpack-maxmind's People

Contributors

parisholley avatar rh avatar bjackson avatar

Watchers

James Cloos avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.