Skip to content
frappePublic

About

Global control plane and front door of Frappe Cloud v2

Topics

Resources

Security policy

Stars

26 stars

Watchers

5 watching

Forks

Latest commit

 

History

3,491 Commits

Folders and files

Repository files navigation

Central

Central is the control plane for Frappe Cloud v2. It manages teams, permissions, servers, sites, managed services, and billing, and keeps an activity feed of the changes to each team and server. It includes a Frappe app and a Vue console.

Frappe Cloud console with the server map, resource usage charts, and billing summary

Atlas runs the regional infrastructure. Pilot manages benches and sites. Cargo builds server images.

Local setup

Use Python 3.14, Frappe v16, Node.js 24, and Yarn. Install Pilot and create and initialize a development bench.

Run these commands from the bench directory:

pilot get-app https://github.com/frappe/central.git --branch develop
pilot new-site central.localhost
pilot install-app central.localhost central
pilot frappe --site central.localhost set-config developer_mode 1
pilot start

Open http://central.localhost:<http_port>/dashboard for the console or /app for Desk. Use the http_port from bench.toml.

On macOS, use NO_PROXY='*' pilot start if system proxy lookup stops background workers.

To provision servers, connect a Region to Atlas and Cargo.

Console development

With Pilot running, open another terminal in apps/central:

yarn install
yarn dev

Use the development URL printed by Vite. To build assets, run pilot build --apps central from the bench directory.

Each push to develop publishes pre-built assets to the assets-develop GitHub release. Pilot downloads them instead of building the dashboard.

Releases

Central uses semantic versioning and two branches.

Branch Purpose How changes arrive
develop Staging. All work merges here. Pull requests from feature branches
main Stable releases Only Mergify backports of merged develop pull requests

To ship a change to main, add the backport-main label to its pull request on develop. Mergify opens a backport pull request and merges it when the checks pass. Mergify closes any other pull request to main. .mergify.yml holds these rules.

To release, run the Weekly Release workflow from main. It reads the commit subjects since the last vX.Y.Z tag, picks the next version, checks that CI passed on that commit, and creates the GitHub release with generated notes.

Commit subject Version change
fix(scope): ... Patch
feat(scope): ... Minor
feat(scope)!: ... or a BREAKING CHANGE: footer Major, or minor before 1.0.0

In an emergency, a repository admin can merge a fix to main directly. Add the emergency label to the pull request and reopen it if Mergify closed it. Then merge the same fix to develop.

Report a vulnerability as described in SECURITY.md.

Documentation

License

AGPL-3.0

About

Global control plane and front door of Frappe Cloud v2

Topics

Resources

Security policy

Stars

26 stars

Watchers

5 watching

Forks

Releases

Packages

Contributors

Languages