mirror of
https://github.com/frappe/frappe_docker.git
synced 2024-11-08 14:21:05 +00:00
docs: update docs for bench helper
[skip travis]
This commit is contained in:
parent
e9080d3952
commit
e4e702987b
@ -212,6 +212,7 @@ To execute commands using bench helper.
|
|||||||
docker run \
|
docker run \
|
||||||
-v <project-name>_sites-vol:/home/frappe/frappe-bench/sites \
|
-v <project-name>_sites-vol:/home/frappe/frappe-bench/sites \
|
||||||
--network <project-name>_default \
|
--network <project-name>_default \
|
||||||
|
--user frappe \
|
||||||
frappe/frappe-worker:$VERSION bench --help
|
frappe/frappe-worker:$VERSION bench --help
|
||||||
```
|
```
|
||||||
|
|
||||||
@ -221,7 +222,11 @@ Example command to clear cache
|
|||||||
docker run \
|
docker run \
|
||||||
-v <project-name>_sites-vol:/home/frappe/frappe-bench/sites \
|
-v <project-name>_sites-vol:/home/frappe/frappe-bench/sites \
|
||||||
--network <project-name>_default \
|
--network <project-name>_default \
|
||||||
|
--user frappe \
|
||||||
frappe/frappe-worker:$VERSION bench --site erp.mysite.com clear-cache
|
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`.
|
||||||
|
Loading…
Reference in New Issue
Block a user