Go to file
Dominik Heidler 934d2851e5 add alfred support and dynamic map creation 2015-10-10 17:42:44 +02:00
contrib add alfred support and dynamic map creation 2015-10-10 17:42:44 +02:00
db add alfred support and dynamic map creation 2015-10-10 17:42:44 +02:00
ffmap add alfred support and dynamic map creation 2015-10-10 17:42:44 +02:00
mapnik add alfred support and dynamic map creation 2015-10-10 17:42:44 +02:00
systemd add alfred support and dynamic map creation 2015-10-10 17:42:44 +02:00
wsgi add alfred support and dynamic map creation 2015-10-10 17:42:44 +02:00
.gitignore add alfred support and dynamic map creation 2015-10-10 17:42:44 +02:00
README.md add alfred support and dynamic map creation 2015-10-10 17:42:44 +02:00
install.sh add alfred support and dynamic map creation 2015-10-10 17:42:44 +02:00
setup.py add alfred support and dynamic map creation 2015-10-10 17:42:44 +02:00

README.md

Installation

./install.sh
systemctl enable uwsgi-ffmap
systemctl enable uwsgi-tiles-links_and_routers
systemctl enable uwsgi-tiles-hoods
systemctl start uwsgi-ffmap
systemctl start uwsgi-tiles-links_and_routers
systemctl start uwsgi-tiles-hoods
# Then apply NGINX Config

Debian Dependencies

apt-get install python python3 mongodb python3-requests python3-lxml python3-pip python3-flask python3-dateutil python3-numpy python3-scipy python-mapnik python3-pip uwsgi-plugin-python uwsgi-plugin-python3 nginx
pip3 install pymongo
git clone https://github.com/asdil12/tilelite
cd tilelite
python setup.py install

NGINX Config

...
        location / {
                include uwsgi_params;
                uwsgi_pass 127.0.0.1:3031;
        }

        location /tiles/links_and_routers {
                include uwsgi_params;
                uwsgi_pass 127.0.0.1:3032;
        }

        location /tiles/hoods {
                include uwsgi_params;
                uwsgi_pass 127.0.0.1:3033;
        }
...