mirror of https://github.com/nocodb/nocodb
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
40 lines
819 B
40 lines
819 B
9 months ago
|
#!/usr/bin/expect -f
|
||
|
|
||
|
# Configure timeout for each expect command
|
||
|
set timeout 10
|
||
|
|
||
|
# Start your main script
|
||
9 months ago
|
set env(PATH) "$env(WORKING_DIR)/mocks:$env(PATH)"
|
||
|
|
||
9 months ago
|
spawn bash ../../noco.sh
|
||
9 months ago
|
|
||
|
# 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 "Y\r"
|
||
|
|
||
|
expect "Choose Community or Enterprise Edition*"
|
||
|
send "\r"
|
||
|
|
||
|
expect "Do you want to enabled Redis for caching*"
|
||
|
send "Y\r"
|
||
|
|
||
5 months ago
|
expect "Do you want to enable Minio for file storage*"
|
||
|
send "Y\r"
|
||
|
|
||
|
expect "Enter the MinIO domain name*"
|
||
|
send "\r"
|
||
|
|
||
9 months ago
|
expect "Do you want to enabled Watchtower for automatic updates*"
|
||
|
send "\r"
|
||
|
|
||
|
expect "How many instances of NocoDB do you want to run*"
|
||
9 months ago
|
send "2\r"
|
||
9 months ago
|
|
||
|
expect "Do you want to start the management menu*"
|
||
|
send "N\r"
|
||
|
|
||
|
expect eof
|