First, install and configure up.
Then clone repo and setup up.json
.
git clone https://github.com/stepankuzmin/geoip-lambda.git
cd geoip-lambda
cp example.up.json up.json
Download GeoLite2 City database and place it into data
folder.
up
curl `up url` | jq