Skip to content

Akilditu/pyronear-webapp

 
 

Repository files navigation

Pyronear Platform

License: Apache 2.0 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 start by installing the requirements of the project:

pip install -r requirements.txt

You can then 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 Apache 2.0 License. See LICENSE for more information.

About

Detection & monitoring platform of wildfires

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 98.1%
  • CSS 1.5%
  • Dockerfile 0.4%