Skip to content

Automatically sync Custom Fields and Property Setters in Frappe sites

License

Notifications You must be signed in to change notification settings

resilient-tech/sync-customizations

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

🔁 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

About

Automatically sync Custom Fields and Property Setters in Frappe sites

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages