View Code? Open in Web Editor
NEW
Flask (Python) backend for the Angular Maps application
License: MIT License
Python 99.59%
Shell 0.41%
sarai-interactive-maps-backend's Introduction
![Build status](https://camo.githubusercontent.com/1650361a1f0ef4aed8beb7ec8ded0982a99cb31b032ff200c7845b5fd2f1dfb9/68747470733a2f2f63692e6170707665796f722e636f6d2f6170692f70726f6a656374732f7374617475732f7968676b6266636f74616a61786869663f7376673d74727565)
Installation of Requirements
- Python 2.7.x or newer except Python 3 and above
- Install Pip:
sudo apt-get install python-pip
- Install VirtualENV:
pip install virtualenv
- Setup
virtualenv
for the project: virtualenv venv
. Make sure this is executed inside the project root folder.
- Activate
virtualenv
by running: source venv/bin/activate
- Install application requirements via:
pip install -r requirements.txt
. This will install all required dependencies of the application.
- Add your Earth Engine credentials by duplicating
conf/main.yml.dist
into conf/main.yml
. After duplicating, add your Earth Engine credentials.
- Run the app by running the command:
python run.py