fix: make GeoLite City downloaded by default

pull/18/head
Alexandre Dulaunoy 2017-10-28 10:27:31 +02:00
parent 179fe0032c
commit 87c7fda4e4
No known key found for this signature in database
GPG Key ID: 09E2CD4944E6CBCD
2 changed files with 6 additions and 1 deletions

View File

@ -38,7 +38,7 @@ zmq_url=tcp://192.168.56.50:50000
db=1
channelProc=CoordToProcess
channelDisp=PicToDisplay
pathMaxMindDB=/home/sami/Downloads/GeoLite2-City_20171003/GeoLite2-City.mmdb
pathMaxMindDB=./data/GeoLite2-City_20171003/GeoLite2-City.mmdb
[RedisDB]
db=2

View File

@ -72,4 +72,9 @@ mv temp/jquery-jvectormap-2.0.3.css ./static/css
mv temp/jquery-jvectormap-2.0.3.min.js ./static/js
wget http://jvectormap.com/js/jquery-jvectormap-world-mill.js -O ./static/js/jquery-jvectormap-world-mill.js
mkdir data
pushd data
wget http://geolite.maxmind.com/download/geoip/database/GeoLite2-City.tar.gz -O GeoLite2-City.tar.gz
tar xvfz GeoLite2-City.tar.gz
rm -rf GeoLite2-City.tar.gz
rm -rf ./temp