-
Notifications
You must be signed in to change notification settings - Fork 84
Home
github-actions[bot] edited this page Feb 12, 2026
·
31 revisions
Frappe-Manager (frappe-manager) is a tool designed to simplify the creation and management of development environments for Frappe-based applications.
- This tool is intended for use with a
non-rootuser. - If you create a site named
example, its URL will be http://example.localhost. - If you create a site named
example.combut haven't set up a corresponding DNS entry, you will need to add a mapping to/etc/hoststo access the site. - If you update non-editable packages in Frappe's Python environment, use the
bench restart/fmx restartinfm shell <benchname>command to restart the related container services, if not you may encounterModuleNotFoundError: No module named 'module_name'error in logs. -
frappe-manageroverrides thebench restartsubcommand ofbench, adding functionality to restart the bench development server within the bench environment.
frappe-manager package provides the following commands as the main interface for interacting with your development environments.
Frappe-Manager for creating frappe development environments.
$ fm [OPTIONS] COMMAND [ARGS]...-
-v, --verbose: Enable verbose output. -
-V, --version: Show Version. -
--install-completion: Install completion for the current shell. -
--show-completion: Show completion for the current shell, to copy it or customize the installation. -
--help: Show this message and exit.
-
code: Open bench in vscode. -
create: Create a new bench with apps -
delete: Delete a bench and optionally its database from global-db service. -
info: Show bench information and configuration -
list: List all benches. -
logs: Show bench logs (server or container) -
migrate: Migrate Frappe Manager to current version. -
ngrok: Create ngrok tunnel for bench -
reset: Drop database and reinstall all apps -
restart: Restart bench services (web, workers, redis, nginx) -
shell: Spawn shell for the bench or execute a command. -
start: Start a bench. -
stop: Stop a bench. -
update: Update bench configuration and settings -
self: Self commands. -
services: Services commands. -
ssl: Ssl commands.
Interact with supervisord instances managed by Frappe Manager.
Provides commands to stop, start, restart, and check the status of background services (like Frappe, Workers, Scheduler) running within the Frappe Manager Docker environment.
To access it, use:
fm shell <benchname>
fmx --help (inside container)$ fmx [OPTIONS] COMMAND [ARGS]...-
restart: Restart Frappe services safely (with options for worker coordination and migrations) -
start: Start services or specific processes. -
status: Check the status of services. -
stop: Stop services or specific processes.
Note:
- Once inside the container shell, you can use
fmxto manage internal frappe services - The
fmxCLI is only available only inside the container, basically after usingfm shell <benchname>.
For more details on safe restarts and migrations, see Workers.md.