Go Web开发之Revel - 命令行工具

构建和运行

为了使用Revel你必须构建命令行工具.从你的GOPATH根目录开始.

$ go build -o bin/revel github.com/robfig/revel/cmd

现在运行:

$ bin/revel

~

~ revel! http://robfig.github.com/revel

~

usage: revel command [arguments]



The commands are:



    run         run a Revel application

    new         create a skeleton Revel application

    clean       clean a Revel application's temp files

    package     package a Revel application (e.g. for deployment)

    test        run all tests from the command-line



Use "revel help [command]" for more information.

请参考工具的内建帮助函数已得到更多的帮助信息.

你可能感兴趣的:(web开发)