Deployment & operations
Purpose
Section titled “Purpose”Guide operators installing and upgrading the Frappe / ERPNext app on a Bench site.
Local / dev (typical)
Section titled “Local / dev (typical)”- Install Bench and create a site with Frappe + ERPNext (versions per your policy).
bench get-app/ copyleekimerpintoapps/, thenbench install-app leekimerpon the site.bench migrateafter pulls; this app usesafter_migrate = "leekimerp.migrate.after_migrate".
Environment variables
Section titled “Environment variables”Commercial handover lists Cloudflare secrets — this app uses Frappe patterns:
| Concern | Typical storage |
|---|---|
| DB password | site_config.json / env injected by supervisor |
| Integration API keys | Site config or integration DocTypes |
| Stripe / Xero / DocuSign | Per-company or site config — never commit |
Deployment process
Section titled “Deployment process”- CI/CD as implemented by your team (not prescribed in-repo for the Frappe app).
- After deploy:
bench migrate,bench clear-cache, restart workers.
Dependencies
Section titled “Dependencies”- MariaDB backups, file backup for
sites/*/private/files
Operational notes
Section titled “Operational notes”- Monitor Error Log, scheduler, and integration webhook logs.