Project Overview: http://sanitation.pratt.duke.edu/onsite-treatment
This project is dormant, and the web server has been taken offline.
The active MCU software is in software/ADPL_electron
using the v6.2.0
Electron firmware.
Live data streaming is available to view at http://adpl.palmeri.io.
The web application is responsible for listening to real-time streaming data from different ADPL stations, saving that data to a database, and making those data available for inspection and analysis via a RESTful API and dashboard-like front end. The web server performs several additional functions like integrating with Twilio to allow for text-based alerts and interaction (with many features yet to be implemented).
The server can be run using docker-compose
with the following steps:
cd software/cloud-dashboard/
DB_DATA=/scratch/adpl/data docker-compose up
The frontend is manually built, and its assets captured by the Docker backend. After changes are made to the frontend, you need to:
cd react-client/
npm install
npm run build
--build
option to docker-compose up --build
to rebuild the image.As simple as: http://adpl.palmeri.io/api/data/temp/1