构建和运行

为了使用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.

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

相关文章:

  • 2021-06-29
  • 2021-10-03
  • 2021-10-13
  • 2021-12-04
  • 2022-03-05
  • 2021-08-04
  • 2022-01-11
猜你喜欢
  • 2022-02-22
  • 2021-10-06
  • 2021-11-24
  • 2021-04-28
相关资源
相似解决方案