livrare website cu erp si crm
This commit is contained in:
parent
28773e3a72
commit
5c7bf7c295
257 changed files with 31929 additions and 0 deletions
14
erp_crm/bin/start-bench-service.sh
Executable file
14
erp_crm/bin/start-bench-service.sh
Executable file
|
|
@ -0,0 +1,14 @@
|
|||
#!/bin/bash
|
||||
set -e
|
||||
|
||||
APP_DIR="/home/frappe/frappe-bench/apps/didi_custom"
|
||||
VENV_PYTHON="/home/frappe/frappe-bench/env/bin/python"
|
||||
|
||||
if [ -d "$APP_DIR" ]; then
|
||||
if ! "$VENV_PYTHON" -c "import didi_custom" >/dev/null 2>&1; then
|
||||
echo "[bootstrap] Installing didi_custom..."
|
||||
/home/frappe/frappe-bench/env/bin/pip install -e "$APP_DIR"
|
||||
fi
|
||||
fi
|
||||
|
||||
exec "$@"
|
||||
Loading…
Add table
Add a link
Reference in a new issue