|
|
@ -78,7 +78,6 @@ func Configure(fname string, configSections string) (*SetupData, error) { |
|
|
|
var prompt promptui.Prompt |
|
|
|
var prompt promptui.Prompt |
|
|
|
|
|
|
|
|
|
|
|
if strings.Contains(configSections, "server") { |
|
|
|
if strings.Contains(configSections, "server") { |
|
|
|
|
|
|
|
|
|
|
|
title(" Server setup ") |
|
|
|
title(" Server setup ") |
|
|
|
fmt.Println() |
|
|
|
fmt.Println() |
|
|
|
|
|
|
|
|
|
|
@ -143,6 +142,7 @@ func Configure(fname string, configSections string) (*SetupData, error) { |
|
|
|
|
|
|
|
|
|
|
|
fmt.Println() |
|
|
|
fmt.Println() |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
if strings.Contains(configSections, "db") { |
|
|
|
if strings.Contains(configSections, "db") { |
|
|
|
title(" Database setup ") |
|
|
|
title(" Database setup ") |
|
|
|
fmt.Println() |
|
|
|
fmt.Println() |
|
|
@ -235,8 +235,8 @@ func Configure(fname string, configSections string) (*SetupData, error) { |
|
|
|
|
|
|
|
|
|
|
|
fmt.Println() |
|
|
|
fmt.Println() |
|
|
|
} |
|
|
|
} |
|
|
|
if strings.Contains(configSections, "app"){ |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
if strings.Contains(configSections, "app") { |
|
|
|
title(" App setup ") |
|
|
|
title(" App setup ") |
|
|
|
fmt.Println() |
|
|
|
fmt.Println() |
|
|
|
|
|
|
|
|
|
|
|