Skip to content

Running Metro4all python app EN

Maxim Dubinin edited this page May 27, 2014 · 1 revision

Steps to run Metro4all python application:

Change the current directory to your projects directory:

cd <projects_directory>

Create new python virtual environment for this project:

virtualenv metro4all

Change directory to created virtual environment:

cd metro4all

Pull metro4all project from github:

if you want to work with SSH Keys:

git pull [email protected]:nextgis/metro4all.git

or simple https:

git pull https://github.com/nextgis/metro4all.git

Change directory to metro4all project:

cd metro4all

Install all dependencies for python application:

../bin/python web/setup.py develop

Insert your absolute path to templates folder here:

bottle.TEMPLATE_PATH.insert(0, '<YOUR_PATH>')

Run bootle application:

../bin/python web/backend.py

Open your favorite browser and type:

http://localhost:8088/msk