Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bench Production environment support. #157

Closed
3 tasks done
Xieyt opened this issue Apr 25, 2024 · 1 comment
Closed
3 tasks done

Bench Production environment support. #157

Xieyt opened this issue Apr 25, 2024 · 1 comment

Comments

@Xieyt
Copy link
Collaborator

Xieyt commented Apr 25, 2024

Description

Add support for bench production environment where the frappe server will run using gunicorn as configured by bench setup supervisor.

  • Use gunicorn server for serving frappe.

  • Add flag --environment to create and update command.
    This will be used to switch frappe environment. If environment is dev then frappe developer mode is turned on by default.

  • Add flag --developer-mode to create and update command. This will be used enable/disable frappe developer mode.

@Xieyt
Copy link
Collaborator Author

Xieyt commented Apr 25, 2024

Description

Add support for bench production environment where the frappe server will run using gunicorn as configured by bench setup supervisor.

* [x]  Use gunicorn server for serving frappe.

* [x]  Add flag `--environment` to `create` and `update` command.
  This will be used to switch frappe environment. If environment is `dev` then frappe developer mode is turned on by default.

* [x]  Add flag `--developer-mode` to `create` and `update` command. This will be used enable/disable frappe developer mode.

Implemented in #155.

@Xieyt Xieyt closed this as completed Apr 25, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant