Skip to content
This repository has been archived by the owner on Sep 2, 2022. It is now read-only.
/ apilytics-geoip Public archive

Simple API for geolocating an IP address

Notifications You must be signed in to change notification settings

apilytics/apilytics-geoip

Repository files navigation

Apilytics GeoIP

ci

Prerequisites

Get the development environment up and running

  1. Clone this repository with: git clone git@github.com:apilytics/apilytics-geoip.git

  2. cd apilytics-geoip

  3. Follow the instructions for environment variables

  4. Build the images: docker-compose build

  5. Run the app: docker-compose up

  6. Access the API from localhost:8000. Import the provided Insomnia file into Insomnia for easily trying out the API.

Environment variables

  • Copy the template env file: cp .env.template .env