Skip to content
generated from agrc/skid

Update DEQ AGOL layers from the Environmental Incident Database in Salesforce

License

Notifications You must be signed in to change notification settings

agrc/deq-eid-skid

Repository files navigation

DEQ Environmental Incidents Salesforce Palletjack Skid

Push Events Pull Events

This skid pulls data from the DEQ EID Salesforce instance and loads it into DEQ AGOL hosted feature layers for use in the interactive map.

Development Setup

  1. Create new environment for the project and install Python
    • conda create --name deq-eid-skid python=3.11
    • conda activate deq-eid-skid
  2. Install the skid in your conda environment as an editable package for development
    • This will install all the normal and development dependencies (palletjack, supervisor, etc)
    • cd c:\path\to\repo
    • pip install -e .[tests]
  3. Set config variables and secrets
    • secrets.json holds passwords, secret keys, etc, and will not (and should not) be tracked in git
    • config.py holds all the other configuration variables that can be publicly exposed in git
    • Copy secrets_template.json to secrets.json and change/add whatever values are needed for your skid
    • Change/add variables in config.py as needed

Testing Locally

You may test this project by running deq-eid-skid.

Publishing AGOL Items

There is a skid.publish method in main that can be used to publish the items for the first time. Note that this method requires arcpy.

About

Update DEQ AGOL layers from the Environmental Incident Database in Salesforce

Resources

License

Code of conduct

Stars

Watchers

Forks

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •