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.11
conda 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\repo
pip install -e .[tests]
- Set config variables and secrets
secrets.json
holds passwords, secret keys, etc, and will not (and should not) be tracked in gitconfig.py
holds all the other configuration variables that can be publicly exposed in git- Copy
secrets_template.json
tosecrets.json
and change/add whatever values are needed for your skid - Change/add variables in
config.py
as 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
.