Skip to content

Deployment & operations

Guide operators installing and upgrading the Frappe / ERPNext app on a Bench site.

  1. Install Bench and create a site with Frappe + ERPNext (versions per your policy).
  2. bench get-app / copy leekimerp into apps/, then bench install-app leekimerp on the site.
  3. bench migrate after pulls; this app uses after_migrate = "leekimerp.migrate.after_migrate".

Commercial handover lists Cloudflare secretsthis app uses Frappe patterns:

ConcernTypical storage
DB passwordsite_config.json / env injected by supervisor
Integration API keysSite config or integration DocTypes
Stripe / Xero / DocuSignPer-company or site config — never commit
  • CI/CD as implemented by your team (not prescribed in-repo for the Frappe app).
  • After deploy: bench migrate, bench clear-cache, restart workers.
  • MariaDB backups, file backup for sites/*/private/files
  • Monitor Error Log, scheduler, and integration webhook logs.