Application for recording electrofishing surveys. Built for DWR.
Staging: https://electrofishing.dev.utah.gov
Production: https://electrofishing.ugrc.utah.gov
- Database Design
- XML Workspace Document:
data/DATABASESCHEMA.XML
- Create SDE database
- Save connection as
Electrofishing_LOCAL as WILDADMIN.sde
- right click >
import xml yada yada
- Reference xml file above
- Register all feature classes and tables as versioned without the option to move edits direct to base
- Publish
maps/MapService
asElectrofishing/MapService
- This map and "Reference" below are pointed at the staging database and will be mapped to production when published to the prod server.
- max number of records returned: 5000
- feature access: create, query and update
- dynamic workspace referencing the sde database ID: ElectrofishingQuery
- Publish
maps/Reference
asElectrofishing/Reference
- Update
scripts/Scripts/settings/__init__.py
. - Create
scripts/Scripts/settings/secrets.py
. - Publish all tools in
scripts/Toolbox.tbx
asElectrofishing/Toolbox
Requires ArcGIS Server AdvancedGetSegmentFromCoords
points
:scripts\ToolData\TestData.gdb\StartEnd_fork
GetSegmentFromStartDistDirt
point
:scripts\ToolData\TestData.gdb\Start1
distance
:1
direction
:up
NewCollectionEvent
- Test Input: copy paste contents of
scripts/Scripts/TestData/NewCollectionEventData.json
(minified) Synchronous
- Copy
scripts/Scripts/settings
&dijkstras.py
to<ArcGISServerDirectory>directories\arcgissystem\arcgisinput\Electrofishing\Toolbox.GPServer\extracted\v101\scripts
.
- Test Input: copy paste contents of
- Releases to Firebase are deployed via GitHub Actions.
- Merge release PR
- Republish Map and/or GP services, if needed (see steps above).
npm start
and open http://localhost:5173/
npm run storybook
(requires npm start
to already be running)