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/MapServiceasElectrofishing/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/ReferenceasElectrofishing/Reference - Update
scripts/Scripts/settings/__init__.py. - Create
scripts/Scripts/settings/secrets.py. - Publish all tools in
scripts/Toolbox.tbxasElectrofishing/ToolboxRequires ArcGIS Server AdvancedGetSegmentFromCoordspoints:scripts\ToolData\TestData.gdb\StartEnd_fork
GetSegmentFromStartDistDirtpoint:scripts\ToolData\TestData.gdb\Start1distance:1direction:up
NewCollectionEvent- Test Input: copy paste contents of
scripts/Scripts/TestData/NewCollectionEventData.json(minified) Synchronous
- 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)