Skip to content

kazuar/flask_mapbox

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

20 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

flask_mapbox

Visualize route on map using Flask and Mapbox

Requirements

The python dependencies are managed using pip and listed in requirements.txt

Setting up Local Development

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

Mapbox JS page

Mapbox GL page

About

Visualize route on map using Flask and Mapbox

Resources

Stars

58 stars

Watchers

7 watching

Forks

Releases

No releases published

Packages

 
 
 

Contributors