Go to file
2026-04-22 15:30:30 -04:00
.gitea initialize the CI/CD pipeline to sync to SVN (does not include the commit step yet) 2026-04-22 15:30:30 -04:00
.githooks add .gitignore file and pre-commit hook 2026-04-22 15:19:10 -04:00
Development first commit (copy of Trunk as of April 22 2026) 2026-04-22 15:00:02 -04:00
Documents first commit (copy of Trunk as of April 22 2026) 2026-04-22 15:00:02 -04:00
Others first commit (copy of Trunk as of April 22 2026) 2026-04-22 15:00:02 -04:00
.gitignore add .gitignore file and pre-commit hook 2026-04-22 15:19:10 -04:00
README.md first commit (copy of Trunk as of April 22 2026) 2026-04-22 15:00:02 -04:00

AgMission Trunk

This is the main development line of the AgMission SaaS platform.

Documentation

Document Description
Documents/ARCHITECTURE.md Software architecture overview — components, data flow, diagrams
Documents/DEPLOYMENT.md Deployment guide — scripts, PM2, backups, env vars
Documents/Requirements/Data-Export-API.md Data Export Public API requirements
Documents/SVN-Guidelines.md SVN branching and commit conventions
Development/server/docs/DOCUMENTATION_INDEX.md Server-side documentation index
Development/server/docs/API_SPECIFICATION.md REST API reference
Development/server/docs/PARTNER_INTEGRATION_ARCHITECTURE.md Partner integration (SatLoc) details
Development/server/docs/DATABASE_DESIGN.md MongoDB schema design
Development/server/docs/DLQ_INDEX.md Dead Letter Queue system guide
Development/server/docs/PAYMENT_FAILURE_HANDLING.md Billing and payment failure handling
Development/server/README_PARTNER_INTEGRATION.md Partner integration quick-start

Quick Start Development

API Server

cd Development/server
cp environment.env.example environment.env   # fill in dev values
npm install
npm start

Web Client

cd Development/client
npm install
npm start      # serves at https://localhost:4200 with SSL proxy

GPS Server AgNav

cd Development/gps-server
PROTOCOL=AGNAV node gps-server.js

Track Server

cd Development/track-server
node track-server.js

Deployment

See Documents/DEPLOYMENT.md for full instructions.

Quick deploy from trunk:

cd trunk/Others/scripts/deploy
./agm-deploy.sh 1 trunk          # backend only
./agm-deploy.sh 2 trunk          # backend + frontend