mirror of
https://github.com/nocodb/nocodb.git
synced 2026-04-30 10:36:36 +00:00
update : refactor auto-upstall and installation methods
This commit is contained in:
21
docker-compose/1_Auto_Upstall/tests/expects/install/default.sh
Executable file
21
docker-compose/1_Auto_Upstall/tests/expects/install/default.sh
Executable file
@@ -0,0 +1,21 @@
|
||||
#!/usr/bin/expect -f
|
||||
|
||||
# Configure timeout for each expect command
|
||||
set timeout 10
|
||||
|
||||
# Start your main script
|
||||
set env(PATH) "$env(WORKING_DIR)/mocks:$env(PATH)"
|
||||
|
||||
spawn bash ../../noco.sh
|
||||
|
||||
# Respond to script prompts
|
||||
expect "Enter the IP address or domain name for the NocoDB instance (default: localhost):"
|
||||
send "\r"
|
||||
|
||||
expect "Show Advanced Options*"
|
||||
send "\r"
|
||||
|
||||
expect "Do you want to start the management menu*"
|
||||
send "N\r"
|
||||
|
||||
expect eof
|
||||
Reference in New Issue
Block a user