Investigate building with bench #5

Open
opened 2026-04-14 12:12:38 +00:00 by TyReynolds · 2 comments
Member

I looked into it and I believe I know how to go about it. I want to add a feature flag to the site config that acts as a toggle for my "save to auto pay" check box. This will shut off the feature until I have it done and ready for production keeping it save to push with no worries of the untested feature making any headaches. Only problem is that I can't seem to open the site config at the moment and I'm not sure why. I've edited it many times before, but it says it doesn't exist now even though I can see it in the directory. My other option is, test and finish the feature then I can push all to production and I don't need the feature flag.

I looked into it and I believe I know how to go about it. I want to add a feature flag to the site config that acts as a toggle for my "save to auto pay" check box. This will shut off the feature until I have it done and ready for production keeping it save to push with no worries of the untested feature making any headaches. Only problem is that I can't seem to open the site config at the moment and I'm not sure why. I've edited it many times before, but it says it doesn't exist now even though I can see it in the directory. My other option is, test and finish the feature then I can push all to production and I don't need the feature flag.
Author
Member

Other than that, the deployment should be easy. From the bench root, "bench restart" will apply the api changes (Python), "bench build" will push the front-end changes (JS), and if we feel the DB needs updated, which it shouldn't, we can run "bench --site "site name" migrate". This should be all then after a cache refresh it should all be there.

Other than that, the deployment should be easy. From the bench root, "bench restart" will apply the api changes (Python), "bench build" will push the front-end changes (JS), and if we feel the DB needs updated, which it shouldn't, we can run "bench --site "site name" migrate". This should be all then after a cache refresh it should all be there.
Author
Member

I looked into it and I believe I know how to go about it. I want to add a feature flag to the site config that acts as a toggle for my "save to auto pay" check box. This will shut off the feature until I have it done and ready for production keeping it save to push with no worries of the untested feature making any headaches. Only problem is that I can't seem to open the site config at the moment and I'm not sure why. I've edited it many times before, but it says it doesn't exist now even though I can see it in the directory. My other option is, test and finish the feature then I can push all to production and I don't need the feature flag.

** UPDATE **

Some reason I code just write to it with nano command, so I got the flag in.

> I looked into it and I believe I know how to go about it. I want to add a feature flag to the site config that acts as a toggle for my "save to auto pay" check box. This will shut off the feature until I have it done and ready for production keeping it save to push with no worries of the untested feature making any headaches. Only problem is that I can't seem to open the site config at the moment and I'm not sure why. I've edited it many times before, but it says it doesn't exist now even though I can see it in the directory. My other option is, test and finish the feature then I can push all to production and I don't need the feature flag. ** UPDATE ** Some reason I code just write to it with nano command, so I got the flag in.
Sign in to join this conversation.
No Label
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: nsinnovations/ns_erpnext_app#5