|
Some checks failed
Server Tests / Mocha – Unit & Utility Tests (push) Failing after 1m37s
|
||
|---|---|---|
| .gitea/workflows | ||
| .githooks | ||
| Development | ||
| Documents | ||
| Others | ||
| .gitignore | ||
| README.md | ||
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