Skip to content

DPIclimate/pilot-reports

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Pilot Reports for Climate Smart Pilots

Build, Run & Deploy

Provides farmers and other stakeholders with up-to-date and historical data regarding environmental conditions. Currently supporting oyster farmers operating on the Clyde River (South Coast of NSW).

pilot-reports

Clyde River Water Quality Report

Website - Built using plain HTML and JS

PDF Report - Built using LaTeX

Install and Run

Install rust:

curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh

Download this repository:

git clone https://github.com/DPIclimate/pilot-reports
cd pilot-reports

Create .env file with Ubidots API token and Datawrapper API token:

touch .env
echo "ORG_KEY=UBIDOTS_KEY" >> .env # Organisation key
echo "AWS_ORG_KEY=UBIDOTS_AWS_KEY" >> .env # Automatic weather station key
echo "DW_KEY=DATAWRAPPER_KEY" >> .env # For datawrapper.de

Build and run using cargo:

cargo build
cargo run

License

Pilot-reports are MIT licensed, as found in the LICENSE file.