Coder Social home page Coder Social logo

mohamedabdulsalam96 / sync-customizations Goto Github PK

View Code? Open in Web Editor NEW

This project forked from resilient-tech/sync-customizations

1.0 0.0 0.0 13 KB

Automatically sync Custom Fields and Property Setters in Frappe sites

License: MIT License

Python 100.00%

sync-customizations's Introduction

๐Ÿ” 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

sync-customizations's People

Contributors

sagarvora avatar

Stargazers

Mohamed Abdulsalam avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.