Skip to content

nrslt/pyronear-webapp

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

48 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Pyronear Platform

License: GPL v3 Codacy Badge Build Status

The building blocks of our wildfire detection & monitoring API.

Table of Contents

Getting started

Prerequisites

  • Python 3.6 (or more recent)
  • pip

Installation

You can clone and install the project dependencies as follows:

git clone https://github.com/pyronear/pyro-platform.git
pip install -r pyro-platform/requirements.txt

Usage

Beforehand, you will need to set a few environment variables either manually or by writing an .env file in the root directory of this project, like in the example below:

API_URL=http://my-api.myhost.com
API_LOGIN=my_secret_login
API_PWD=my_very_secret_password

Those values will allow your web server to connect to our API, which is mandatory for your local server to be fully operational.

Plain dash server

You can run the web server using the following commands:

python app/main.py

Then your Dash app will be available at http://localhost:8050/

Dockerized dash server

If you wish to deploy this project on a server hosted remotely, you might want to be using Docker containers. You can perform the same using this command:

docker-compose up -d --build

Like previously, you can navigate then to http://localhost:8050/ to interact with your Dash app.

License

Distributed under the GPLv3 License. See LICENSE for more information.

Releases

No releases published

Packages

No packages published

Languages

  • Python 98.9%
  • Dockerfile 1.1%