Logo Lanfrica

TechnoServe/Caju-Dashboard

Domain:

agriculturegeospatial

Record type:

software
Creator:
Tec
Host:
The Satellite Dashboard is a remote sensing dashboard created to map satellite growing areas in Benin. # Caju-Dashboard > The Satellite Dashboard is a remote sensing dashboard created to map satellite growing areas in Benin, using satellite imagery and machine learning algorithms. The dashboard will help field teams improve operations and policy makers make better decisions ## Requirements (Prerequisites) Tools and packages required to successfully install this project. For example: * Linux, Windows or MacOS * Python 3.9 * MySQL database ## Setup The first thing to do is to clone the repository: ```sh $ git clone github.com $ cd Caju-Dashboard-v2 ``` Create a virtual environment to install dependencies in and activate it: ```sh $ python3 -m venv env $ source env/bin/activate ``` Then install the dependencies: ```sh (env)$ pip install -r requirements.txt ``` Note the `(env)` in front of the prompt. This indicates that this terminal session operates in a virtual environment set up previously. Once `pip` has finished downloading the dependencies, run migrations with following command: ```sh (env)$ python3 manage.py migrate --skip-checks ``` Then, create a `.env` file in the root of the project with following content: ```sh TIMES=2 #Dashboard DB credentials NAME='YOUR DATABASE NAME HERE' USER='YOUR DATATBASE USERNAME HERE' PASSWORD='YOUR DATABASE USER PASSWORD HERE' HOST=YOUR DATABASE SERVER HOSTNAME HERE PORT='YOUR DATABASE SERVER PORT HERE' #CAJU-APP credentials SQL_HOSTNAME='' SQL_USERNAME='' SQL_PASSWORD='' SQL_DATABASE='' SSH_HOSTNAME='' SSH_USER='' #SMTP EMAIL_HOST='YOUR EMAIL SERVER HOSTNAME HERE' EMAIL_HOST_USER='YOUR EMAIL ADDRESS HERE' EMAIL_HOST_PASSWORD='YOUR EMAIL PASSWORD HERE' EMAIL_PORT=YOUR EMAIL SERVER PORT HERE #AWS PKEY='' #ALTEIA ALTEIA_USER="" ALTEIA_PASSWORD="" #GOOGLE EARTH ENGINE PRIVATE_KEY="" #PROJECT SECRET KEY SECRET_KEY="YOUR SECRET KEY HERE" SERVER_URL="YOUR SERVER URL HERE. ex:127.0.0.1" ``` Note: A request will have to be made to support to obtain the mi …