create - rtCamp/Frappe-Manager GitHub Wiki
Create a new bench.
Usage:
$ fm create [OPTIONS] BENCHNAMEArguments:
-
BENCHNAME: Name of the bench [required]
Options:
-
-a, --apps TEXT: FrappeVerse apps to install. App should be specified in format : or . -
--environment, --env [prod|dev]: Select bench environment type. [default: dev] -
--developer-mode [enable|disable]: Toggle frappe developer mode. [default: disable] -
--frappe-branch TEXT: Specify the branch name for frappe app [default: version-15] -
--template / --no-template: Create template bench. [default: no-template] -
--admin-pass TEXT: Default Password for the standard 'Administrator' User. This will be used as the password for the Administrator User for all new bench. [default: admin] -
--ssl [letsencrypt|disable]: Enable https [default: disable] -
--help: Show this message and exit.
Notes
- In a
prodenvironment, frappe developer-mode and Admin Tools are disabled by default. - In a
devenvironment, frappe developer-mode and Admin Tools are enabled by default. - When the
-appsflag is utilized without specifying a<branch>, the behavior is as follows:- If the specified app is prebaked, the prebaked version will be utilized.
- If the specified app is not prebaked, the default branch from the repository will be used.
- Frappeverse apps are prebaked in the Frappe Docker images includes:
-
frappe:version-15 -
erpnext:version-15 -
hrms:version-15
-
Examples:
create example.localhost bench with only frappe, version -> version-15
fm create examplecreate example.localhost bench with only frappe, version -> develop
fm create example --frappe-branch developcreate example.localhost bench with frappe, erpnext and hrms, version -> version-15
fm create example --apps erpnext --apps hrmscreate example.localhost bench with frappe, erpnext and hrms, version -> version-15
fm create example --apps erpnext:version-15 --apps hrms:version-15create example.com bench with frappe, erpnext and hrms, version -> version-15, env -> prod and ssl -> letsencrypt
fm create example --apps erpnext --apps hrms --env prod --ssl letsencrypt