rtCamp / Frappe-Manager

A CLI tool based on Docker Compose to easily manage Frappe based projects.
MIT License
109 stars 23 forks source link

fm reset <site> #103

Open rahul286 opened 7 months ago

rahul286 commented 7 months ago

fm reset command can do internally

  1. Copy company name, abbr and a few values
  2. bench reinstall with --admin-password, --db-root-username, --db-root-password, --yes
  3. config values from step 1, so user will be straight in

If there is a way to preserve session cookie, even better. Otherwise, ok if user needs to log in.

If the admin password doesn't change, browser autofill/password manager can make it seamless.

Xieyt commented 2 months ago

2. bench reinstall with --admin-password, --db-root-username, --db-root-password, --yes

This has been implemented in #213 as reset command.

1. Copy company name, abbr and a few values 3. config values from step 1, so user will be straight in

I think this is part of #31 and can be tracked there. Will do more research and collaborate with frappe developers to understand and bring this feature, if possible.