diff --git a/config.cfg b/config.cfg index ffb71ea..4d140cd 100644 --- a/config.cfg +++ b/config.cfg @@ -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 diff --git a/install_dependencies.sh b/install_dependencies.sh index da81644..3da38f3 100755 --- a/install_dependencies.sh +++ b/install_dependencies.sh @@ -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