mirror of
https://github.com/frappe/frappe_docker.git
synced 2026-06-19 22:55:10 +00:00
create site uses file param instead of user interaction
This commit is contained in:
parent
918ee7352b
commit
dce4720fc9
1 changed files with 2 additions and 2 deletions
|
|
@ -39,9 +39,9 @@ echo "📦 Installing AI Tutor Chat..."
|
|||
docker compose exec -T backend bench --site "$SITE_NAME" install-app ai_tutor_chat
|
||||
|
||||
# Set as default site (optional)
|
||||
read -p "Set as default site? (y/n) " -n 1 -r
|
||||
SET_DEFAULT_SITE="${2:-n}"
|
||||
echo
|
||||
if [[ $REPLY =~ ^[Yy]$ ]]; then
|
||||
if [[ $SET_DEFAULT_SITE =~ ^[Yy]$ ]]; then
|
||||
docker compose exec -T backend bench use "$SITE_NAME"
|
||||
echo "✅ Set as default site"
|
||||
fi
|
||||
|
|
|
|||
Loading…
Reference in a new issue