Skip to content

Latest commit

 

History

History
43 lines (24 loc) · 1.25 KB

README.md

File metadata and controls

43 lines (24 loc) · 1.25 KB

🔁 Sync Customizations

Automatically sync Custom Fields and Property Setters in Frappe sites

Usage

Exporting Customizations

Automatically ✨

Create Custom Fields and Property Setters as usual through Customize Form / Form Builder / respective DocTypes. The corresponding files should get auto-created in the following directory by default:

[bench-name]/sites/[site-name]/customizations/

You can also specify a custom directory for syncing customizations by setting the path to that directory in a site config called customizations_dir. This path must be either absolute or relative to the site's bench directory. For example:

bench --site abc.localhost set-config customizations_dir apps/abc/customizations

Manually

Want to export existing customizations? Fret not, you can just run the following command:

bench --site [your-site-name] sc-export

Importing Customizations

Ensure that this app is installed and the customizations directory is present. Customizations should get synced automatically during DB migration.

Sponsors

Special thanks to @filtersource and @rtCamp for sponsoring the development of this app!

License

MIT