命令行工具
Build and Run
为了使用Revel,必须构建Revel命令行工具:
$ go get github.com/revel/revel/revel
现在运行它:
$ bin/revel
~
~ revel! http://revel.github.com/revel
~
usage: revel command [arguments]
The commands are:
new create a skeleton Revel application
run run a Revel application
build build a Revel application (e.g. for deployment)
package package a Revel application (e.g. for deployment)
clean clean a Revel application's temp files
test run all tests from the command-line
Use "revel help [command]" for more information.
关于每条命令的含义,请参阅该工具的内置帮助功能。
当前内容版权归 gorevel.cn 或其关联方所有,如需对内容或内容相关联开源项目进行关注与资助,请访问 gorevel.cn .