frappe-manager
Skill68 starsChanged 10 days agoMITView on GitHub
Use Frappe Manager (FM) for Docker-based development and testing environments. Use when setting up local dev, running isolated tests, or managing agent-driven Frappe development workflows.
In this repository13 other files it gives its agents.
- api-developmentSkill
- app-developmentSkill
- desk-customizationSkill
- doctype-developmentSkill
- enterprise-patternsSkill
- frontend-developmentSkill
- printing-templatesSkill
- project-triageSkill
- reportsSkill
- routerSkill
- testingSkill
- ui-patternsSkill
- web-formsSkill
The file
We split this skill into the rules it gives an agent
9 rules. About 0 are common, 4 are distinctive, and 5 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈4
Distinctive · estimate
This author's own choices. Worth a look.
5
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 150
Docker not running: Start Docker daemon
- Distinctive: line 151
Port conflict: Use different site name or check port 80/443
- Very specific: line 152
Site not accessible: Check fm list for status, try fm start
- Very specific: line 153
App not installing: Check fm logs for errors
- Very specific: line 171
Always backup before operations: Run fm backup <site> before major changes or updates
- Distinctive: line 172
Use named sites: Avoid generic names; use descriptive site names for project identification
- Distinctive: line 173
Check SSH access: Ensure SSH keys are configured for private repos before app installation
- Very specific: line 174
Verify Docker status: Run fm doctor to check Docker and FM health before operations
- Very specific: line 175
Use
fm shellfor commands: Always enter container shell before running bench commands
≈ “Common” is an estimate: at least 1 in 5 of the 350,495 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Frappe Manager
Manage Docker-based Frappe development environments using Frappe Manager (FM).
When to use
- Setting up a local Frappe development environment
- Creating isolated test environments
- Agent-driven development (vibe coding) workflows
- Quick prototyping without full bench setup
- Reproducible environments across machines
Inputs required
- Docker installed and running
- Python 3.11+ with pipx
- Site/bench name
- Apps to install (frappe, erpnext, hrms, custom)
- Environment type (dev/prod)
Procedure
0) Install Frappe Manager
# Install via pipx
pipx install frappe-manager
# Enable shell completion
fm --install-completion1) Create a site
# Basic site (frappe only)
fm create mysite
# Site with ERPNext
fm create mysite --apps erpnext:version-15
# Site with multiple apps
fm create mysite --apps erpnext --apps hrms --environment dev
# Production site with SSL
fm create example.com --apps erpnext --env prod --ssl letsencrypt2) Manage sites
# List all sites
fm list
# Start/stop site
fm start mysite
fm stop mysite
# View site info
fm info mysite
# View logs (follow)
fm logs mysite -f
# Delete site
fm delete mysite3) Development workflow
# Access shell inside container
fm shell mysite
# Inside container - common commands:
bench new-app my_custom_app
bench --site mysite install-app my_custom_app
bench --site mysite migrate
bench build --app my_custom_app
bench --site mysite run-tests --app my_custom_app
# Exit shell
exit
# Open in VSCode
fm code mysite
# Open with debugger
fm code mysite --debugger4) Agent-driven development
Perfect for AI agents developing Frappe apps:
# 1. Setup: Create fresh environment
fm create testsite --apps erpnext:version-15 --environment dev
fm start testsite
# 2. Develop: Enter shell, create app
fm shell testsite
bench new-app my_app
bench --site testsite install-app my_app
# ... make code changes ...
exit
# 3. Test: Run tests
fm shell testsite
bench --site testsite run-tests --app my_app
exit
# 4. Verify: Check logs
fm logs testsite -f
# 5. Reset if needed: Start fresh
fm stop testsite
fm delete testsite
fm create testsite --apps erpnext:version-15 --environment dev5) Internal service management (fmx)
Inside the container, use fmx for service control:
fm shell mysite
fmx status # Check service status
fmx restart # Restart Frappe services
fmx start # Start services
fmx stop # Stop servicesVerification
- Site accessible at http://mysite.localhost
- Can login with admin credentials (default: admin/admin)
- Custom app installed and visible
- Tests run successfully inside container
- Logs show no critical errors
Failure modes / debugging
- Docker not running: Start Docker daemon
- Port conflict: Use different site name or check port 80/443
- Site not accessible: Check
fm listfor status, tryfm start - App not installing: Check
fm logsfor errors - Slow startup: First run downloads images—be patient
Escalation
- For advanced Docker config, see references/docker-config.md
- For SSL issues, see references/ssl-setup.md
- For bench commands, see references/bench-commands.md
References
- references/fm-commands.md - Full FM command reference
- references/agent-workflow.md - Agent development patterns
- references/bench-commands.md - Bench CLI inside container
- https://github.com/rtCamp/Frappe-Manager
Guardrails
- Always backup before operations: Run
fm backup <site>before major changes or updates - Use named sites: Avoid generic names; use descriptive site names for project identification
- Check SSH access: Ensure SSH keys are configured for private repos before app installation
- Verify Docker status: Run
fm doctorto check Docker and FM health before operations - Use
fm shellfor commands: Always enter container shell before running bench commands
Common Mistakes
| Mistake | Why It Fails | Fix |
Running bench commands outside fm shell | "Command not found" or wrong site | Always fm shell <site> first |
| Wrong site context | Operations affect wrong site | Check prompt shows correct site; use bench --site <site> |
| Missing volumes on recreate | Data loss | Use fm recreate --keep-volumes or backup first |
Not checking fm doctor | Silent configuration issues | Run fm doctor to diagnose problems |
Using localhost in site URL | DNS resolution issues | Use <site>.localhost format for local access |
Forgetting to fm start after reboot | Site not accessible | Run fm start <site> or fm start --all |
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

