mirror of
https://github.com/frappe/frappe_docker.git
synced 2026-06-22 15:55:09 +00:00
update dbench to include -u
This commit is contained in:
parent
71bb7b340e
commit
949a505100
1 changed files with 9 additions and 1 deletions
10
dbench
10
dbench
|
|
@ -1,6 +1,6 @@
|
||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
|
|
||||||
if ! options=$(getopt -o hd:ace --long add,help,developer:,setup,start,init -- "$@")
|
if ! options=$(getopt -o hd:aceu --long add,help,developer:,setup,start,init -- "$@")
|
||||||
then
|
then
|
||||||
echo "entering container"
|
echo "entering container"
|
||||||
docker exec -it frappe bash
|
docker exec -it frappe bash
|
||||||
|
|
@ -88,4 +88,12 @@ if setup; then
|
||||||
else
|
else
|
||||||
docker-compose
|
docker-compose
|
||||||
fi
|
fi
|
||||||
|
exit 0
|
||||||
|
fi
|
||||||
|
|
||||||
|
if init; then
|
||||||
|
if ! site; then
|
||||||
|
site="site1.local"
|
||||||
|
fi
|
||||||
|
frappe_installer site
|
||||||
fi
|
fi
|
||||||
Loading…
Reference in a new issue