pull/25/merge
lifei6671 2017-05-01 16:40:35 +08:00
parent 21f60db3c0
commit c708784037
2 changed files with 4 additions and 1 deletions

View File

@ -5,6 +5,8 @@ import (
_ "github.com/lifei6671/godoc/routers"
"github.com/astaxie/beego"
"github.com/lifei6671/godoc/commands"
"fmt"
"os"
)
func main() {
@ -17,5 +19,6 @@ func main() {
beego.SetStaticPath("uploads","uploads")
fmt.Printf("%+v",os.Args)
beego.Run()
}

View File

@ -3,7 +3,7 @@ set -e
cd /go/src/github.com/lifei6671/godoc/
goFile="godoc"
goFile="/go/src/github.com/lifei6671/godoc/godoc"
chmod +x $goFile