Skip to content

rockychen-dpaw/resource_tracking

 
 

Repository files navigation

Resource Tracking application

Django and Leaflet application that collects tracking information using IMAP from a mailbox and displays it on a collection of layers provided by Geoserver. The application also downloads observation data from automatic weather stations.

Environment variables

This project uses confy to set environment variables (in a .env file). The following variables are required for the project to run:

DATABASE_URL="postgis://USER:PASSWORD@HOST:PORT/DATABASE_NAME"
SECRET_KEY="ThisIsASecretKey"

Variables below may also need to be defined (these are context-dependent):

DEBUG=True
CSRF_COOKIE_SECURE=False
SESSION_COOKIE_SECURE=False
ALLOWED_DOMAINS=".domain.wa.gov.au,localhost"
EMAIL_HOST="email.host"
EMAIL_PORT=25
EMAIL_USER="username@dbca.wa.gov.au"
EMAIL_PASSWORD="password"
TRACPLUS_URL="https://your-trackplus-gateway-url/parameters"
DFES_URL="https://dfes-resource-api/endpoint"
DFES_USER="username"
DFES_PASS="password"
KMI_VEHICLE_BASE_URL="https://kmi.base.url/json/endpoint"

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 50.8%
  • Scheme 35.2%
  • JavaScript 10.7%
  • CSS 1.7%
  • HTML 1.4%
  • Dockerfile 0.2%