mirror of
https://github.com/frappe/bench.git
synced 2024-11-11 15:51:03 +00:00
Update README.md
This commit is contained in:
parent
15e8568d43
commit
9474a3a0fb
@ -83,8 +83,11 @@ patches, build JS and CSS files and restart supervisor (if configured to).
|
|||||||
You can also run the parts of the bench selectively.
|
You can also run the parts of the bench selectively.
|
||||||
|
|
||||||
`bench update --pull` will only pull changes in the apps
|
`bench update --pull` will only pull changes in the apps
|
||||||
|
|
||||||
`bench update --patch` will only run database migrations in the apps
|
`bench update --patch` will only run database migrations in the apps
|
||||||
|
|
||||||
`bench update --build` will only build JS and CSS files for the bench
|
`bench update --build` will only build JS and CSS files for the bench
|
||||||
|
|
||||||
`bench update --bench` will only update the bench utility (this project)
|
`bench update --bench` will only update the bench utility (this project)
|
||||||
|
|
||||||
Running the bench
|
Running the bench
|
||||||
@ -93,6 +96,7 @@ Running the bench
|
|||||||
To run the bench,
|
To run the bench,
|
||||||
|
|
||||||
*For development*: `bench start`
|
*For development*: `bench start`
|
||||||
|
|
||||||
*For production*: Configure supervisor and nginx
|
*For production*: Configure supervisor and nginx
|
||||||
|
|
||||||
To run the bench, a few services need to be running apart from the processes.
|
To run the bench, a few services need to be running apart from the processes.
|
||||||
@ -154,9 +158,7 @@ sudo ln -s `pwd`/config/supervisor.conf /etc/supervisor/conf.d/frappe.conf
|
|||||||
|
|
||||||
The bench will also need to restart the processes managed by supervisor when you
|
The bench will also need to restart the processes managed by supervisor when you
|
||||||
update the apps. To automate this, you will have to setup sudoers using the
|
update the apps. To automate this, you will have to setup sudoers using the
|
||||||
command
|
command, `sudo bench setup sudoers`.
|
||||||
|
|
||||||
`sudo bench setup sudoers`
|
|
||||||
|
|
||||||
Nginx
|
Nginx
|
||||||
-----
|
-----
|
||||||
|
Loading…
Reference in New Issue
Block a user