Star 历史趋势
数据来源: GitHub API · 生成自 Stargazers.cn
README.md

🚀 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 StartDocumentationExamplesSupport

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

CommandDescriptionDocumentation
fm codeOpen bench in vscode.Docs: Code
fm createCreate a new bench with appsDocs: Create
fm deleteDelete a bench and optionally its database from global-db service.Docs: Delete
fm infoShow bench information and configurationDocs: Info
fm listList all benches.Docs: List
fm logsShow bench logs (server or container)Docs: Logs
fm migrateMigrate Frappe Manager to current version.Docs: Migrate
fm ngrokCreate ngrok tunnel for benchDocs: Ngrok
fm resetDrop database and reinstall all appsDocs: Reset
fm restartRestart bench services (web, workers, redis, nginx)Docs: Restart
fm selfManage selfDocs: Self
fm servicesManage servicesDocs: Services
fm shellSpawn shell for the bench or execute a command.Docs: Shell
fm sslManage sslDocs: Ssl
fm startStart a bench.Docs: Start
fm stopStop a bench.Docs: Stop
fm updateUpdate bench configuration and settingsDocs: 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.
productiontier-1

语言 Languages

Python94.9%
Shell3.7%
Go Template0.8%
Dockerfile0.4%
Just0.2%

提交活跃度 Commit Activity

代码提交热力图
过去 52 周的开发活跃度
502
Total Commits
峰值: 63次/周
Less
More

核心贡献者 Contributors