Skip to content

rtCamp/Frappe-Manager

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

1,143 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

πŸš€ Frappe Manager

Python 3.13+ GHCR License: MIT PyPI version

Simplify Your Frappe Development & Deployment Workflow

A powerful CLI tool that streamlines the entire lifecycle of Frappe applications using Docker - from development to deployment.

Quick Start β€’ Documentation β€’ Examples β€’ Support

Frappe-Manager-Create-Site.svg

✨ Features

πŸ”₯ Easy Setup

β€’ Get a new Frappe environment running in minutes
β€’ Zero configuration needed

🐳 Docker-Based

β€’ Consistent environments across all platforms
β€’ Isolated development environments

🌐 Multi-Bench Support

β€’ Manage multiple Frappe benches from one server

πŸ‘¨β€πŸ’» Development Tools

β€’ VSCode integration with debugger support
β€’ Automatic environment switching between dev/prod

πŸ”’ SSL Management

β€’ Built-in Let's Encrypt integration
β€’ Automatic certificate renewal

πŸ› οΈ Admin Tools

β€’ Mailpit for email testing
β€’ Adminer for db management

πŸ› οΈ Requirements

  • Python 3.13.+
  • Docker
  • VSCode (optional, for development features)

πŸš€ Installation

Using uv (Recommended)

uv is a fast Python package installer and resolver.

# Run directly without installation (requires uv)
uvx --from frappe-manager fm create mysite

# Run latest development version without installation
uvx --from git+https://github.com/rtcamp/frappe-manager@develop fm --help

# Install with uv tool (persistent installation)
uv tool install --python 3.13 frappe-manager

# Install latest development version
uv tool install git+https://github.com/rtcamp/frappe-manager@develop

# Upgrade to latest version
uv tool upgrade frappe-manager

Using pipx (Alternative)

# Install stable version
pipx install frappe-manager 

# Install latest development version
pipx install git+https://github.com/rtcamp/frappe-manager@develop

# Upgrade to latest version
pipx upgrade frappe-manager

⚑ Quick Start

Create your first Frappe bench:

# Create a development bench (default)
fm create mybench

# Create with ERPNext
fm create mybench --apps frappe:version-16 --apps erpnext:version-16

# Create with multiple apps
fm create mybench --apps erpnext --apps hrms

# Create production bench
fm create mybench --environment prod

That's it! Your bench is ready. Access it at http://mybench.localhost

πŸ“‹ Command Reference

Command Description Documentation
fm code Open bench in vscode. Docs: Code
fm create Create a new bench with apps Docs: Create
fm delete Delete a bench and optionally its database from global-db service. Docs: Delete
fm info Show bench information and configuration Docs: Info
fm list List all benches. Docs: List
fm logs Show bench logs (server or container) Docs: Logs
fm migrate Migrate Frappe Manager to current version. Docs: Migrate
fm ngrok Create ngrok tunnel for bench Docs: Ngrok
fm reset Drop database and reinstall all apps Docs: Reset
fm restart Restart bench services (web, workers, redis, nginx) Docs: Restart
fm self Manage self Docs: Self
fm services Manage services Docs: Services
fm shell Spawn shell for the bench or execute a command. Docs: Shell
fm ssl Manage ssl Docs: Ssl
fm start Start a bench. Docs: Start
fm stop Stop a bench. Docs: Stop
fm update Update bench configuration and settings Docs: Update

πŸ’‘ Tip: Use fm <command> --help to see detailed options and examples for any command.

πŸ“– Documentation

Visit our documentation site on GitHub Pages:

🀝 Support

πŸ‘ Credits

Based on official Frappe Docker images.

πŸ“„ License

MIT License - see LICENSE file for details

About

A CLI tool based on Docker Compose to easily manage Frappe based projects.

Topics

Resources

License

Stars

Watchers

Forks

Packages

 
 
 

Contributors

Languages