mirror of https://gitee.com/answerdev/answer.git
update install api
This commit is contained in:
parent
1556d815cf
commit
6f999a5a28
|
@ -4,7 +4,6 @@ import (
|
|||
"fmt"
|
||||
"os"
|
||||
|
||||
"github.com/answerdev/answer/internal/base/server"
|
||||
"github.com/answerdev/answer/internal/cli"
|
||||
"github.com/answerdev/answer/internal/migrations"
|
||||
"github.com/spf13/cobra"
|
||||
|
@ -60,8 +59,8 @@ To run answer, use:
|
|||
Short: "init answer application",
|
||||
Long: `init answer application`,
|
||||
Run: func(_ *cobra.Command, _ []string) {
|
||||
installwebapi := server.NewInstallHTTPServer()
|
||||
installwebapi.Run(":8088")
|
||||
// installwebapi := server.NewInstallHTTPServer()
|
||||
// installwebapi.Run(":8088")
|
||||
cli.InstallAllInitialEnvironment(dataDirPath)
|
||||
c, err := readConfig()
|
||||
if err != nil {
|
||||
|
|
Loading…
Reference in New Issue