Skip to content

mi3nts/AirQualityAnalysisWorkflows

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

AirQualityAnalysisWorkflows

Container Setup

  1. Navigate to /influxdb. Copy .example.env to .env and edit the file with appropriate paths for your machine and desired settings. Contact John Waczak or Lakitha Wijeratne to obtain the necessary credentials files.
  2. Build the container via docker compose up --build. If you want the container to remain on in the background, instead run docker compose up --build -d.
  3. To turn of the containers, run docker compose down

Automated Reports

  1. Install quarto on your device
  2. In the root of the directory run quarto render automated_reports
  3. View the output in /automated_reports/_site.
  4. While developing, use quarto preview automated_reports to see the pages update live in your browser as you work on the source files.

Important Notes for Deployment on MDASH

See this thread for updating the containers. DO NOT do podman-compose down as this will remove the volumes for influxdb. Instead, simply running podman-compose up -d should rebuild any containers whose configuration files have changed.

Also, this link

podman container ls 
podman stop 3398e22269ba
podman rm 3398e22269ba
podman stop 45364f8f8a64
podman rm 45364f8f8a64
podman-compose up --build -d