Visualize route on map using Flask and Mapbox
The python dependencies are managed using pip and listed in
requirements.txt
First, clone this repository:
git clone https://github.com/kazuar/flask_mapbox.git
You can use pip, virtualenv and virtualenvwrapper to install the requirements:
pip install -r requirements.txt
Make sure you have npm and bower installed on your machine (for javascript dependencies):
bower install
Create setting.py
file for the MAPBOX_ACCESS_KEY:
MAPBOX_ACCESS_KEY = '<MAPBOX_ACCESS_KEY>'
Start the server by running start.sh
:
sh start.sh
Browse to localhost for the index page