Skip to content

super-vanilla-bear/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

0 stars

Watchers

0 watching

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages

  • HTML 60.3%
  • Python 38.9%
  • Shell 0.8%