Skip to content

Latest commit

 

History

History
32 lines (22 loc) · 1.1 KB

README.md

File metadata and controls

32 lines (22 loc) · 1.1 KB

potree server height profile extractor project

A Flask application

Requirements

  1. Windows OS. Sorry about that. It will be soon avaible to linux users
  2. Python 2.7
  3. Pip installation notes for python version older than 2.7.9
  4. Virtualenv

Installation

  1. Clone this repository on your machine
  2. Open a command line in the project directory
  3. Create a virtual environnement virtualenv venv
  4. Activate the virtual env
  5. Install dependencies with correct version pip install -r requirements_windows.txt

Starting the developpement server

Warning: debug mode is currently activated by default

  1. Edit pytree.yaml configuration file if needed
  2. Run the server: python runserver.py
  3. If the dev server runs fine, the adress localhost:5001 will display a demo page
  4. Note: the demo page is there for testing purposes and not actively maintained

Production setup

Example Apache 2.4 WSGI configuration files are in apache_demo_config directory. You'll need to adapt to you local setup