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.
- Create new environment for the project and install Python
conda create --name deq-eid-skid python=3.11conda activate deq-eid-skid
- 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\repopip install -e .[tests]
- Set config variables and secrets
secrets.jsonholds passwords, secret keys, etc, and will not (and should not) be tracked in gitconfig.pyholds all the other configuration variables that can be publicly exposed in git- Copy
secrets_template.jsontosecrets.jsonand change/add whatever values are needed for your skid - Change/add variables in
config.pyas needed
You may test this project by running deq-eid-skid.
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.