2
0
mirror of https://github.com/frappe/frappe_docker.git synced 2024-11-09 14:50:58 +00:00

docs: update docs for bench helper

[skip travis]
This commit is contained in:
Revant Nandgaonkar 2020-08-30 11:01:09 +05:30
parent e9080d3952
commit e4e702987b

View File

@ -212,6 +212,7 @@ To execute commands using bench helper.
docker run \
-v <project-name>_sites-vol:/home/frappe/frappe-bench/sites \
--network <project-name>_default \
--user frappe \
frappe/frappe-worker:$VERSION bench --help
```
@ -221,7 +222,11 @@ Example command to clear cache
docker run \
-v <project-name>_sites-vol:/home/frappe/frappe-bench/sites \
--network <project-name>_default \
--user frappe \
frappe/frappe-worker:$VERSION bench --site erp.mysite.com clear-cache
```
Use it to install/uninstall custom apps, add system manager user, etc.
Notes:
- Use it to install/uninstall custom apps, add system manager user, etc.
- To run the command as non root user add the command option `--user frappe`.