mirror of
https://github.com/frappe/frappe_docker.git
synced 2026-06-22 15:55:09 +00:00
fixed dbench
This commit is contained in:
parent
3546d01053
commit
8992678e7f
1 changed files with 4 additions and 2 deletions
6
dbench
6
dbench
|
|
@ -29,7 +29,7 @@ frappe_installer () {
|
||||||
if [[ $# -eq 0 ]]; then
|
if [[ $# -eq 0 ]]; then
|
||||||
docker exec -it frappe bash
|
docker exec -it frappe bash
|
||||||
|
|
||||||
elif [[ $1 == 'init' && $2 == 'e' ]]
|
elif [[ $1 == 'init' && $2 == '-e' ]]
|
||||||
then
|
then
|
||||||
frappe_installer
|
frappe_installer
|
||||||
echo "installing erpnext"
|
echo "installing erpnext"
|
||||||
|
|
@ -37,7 +37,7 @@ then
|
||||||
docker exec -it frappe bash -c "bench --site site1.local install-app erpnext"
|
docker exec -it frappe bash -c "bench --site site1.local install-app erpnext"
|
||||||
echo "finished"
|
echo "finished"
|
||||||
|
|
||||||
elif [[ $1 == 'init' && $2 == 'd' ]]
|
elif [[ $1 == 'init' && $2 == '-d' ]]
|
||||||
then
|
then
|
||||||
frappe_installer
|
frappe_installer
|
||||||
docker exec -it frappe bash -c "cat frappe-bench/sites/site1/site_config.json"
|
docker exec -it frappe bash -c "cat frappe-bench/sites/site1/site_config.json"
|
||||||
|
|
@ -67,10 +67,12 @@ else
|
||||||
;;
|
;;
|
||||||
\?)
|
\?)
|
||||||
echo "Invalid option: -$OPTARG" >&2
|
echo "Invalid option: -$OPTARG" >&2
|
||||||
|
display_usage
|
||||||
exit 1
|
exit 1
|
||||||
;;
|
;;
|
||||||
:)
|
:)
|
||||||
echo "Option -$OPTARG requires an argument." >&2
|
echo "Option -$OPTARG requires an argument." >&2
|
||||||
|
displpay_usage
|
||||||
exit 1
|
exit 1
|
||||||
;;
|
;;
|
||||||
esac
|
esac
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue