运行vapor项目:
swift run
或者vapor run serve
或者指定host和portvapor run serve -b 0.0.0.0:80
migrate:vapor run migrate
查看路由:swift run Run routes
单元测试:swift test
查看更多命令:swift run Run --help
运行vapor项目:
swift run
或者vapor run serve
或者指定host和portvapor run serve -b 0.0.0.0:80
migrate:vapor run migrate
查看路由:swift run Run routes
单元测试:swift test
查看更多命令:swift run Run --help
本文标题:Vapor Command API
本文链接:https://www.haomeiwen.com/subject/fjlmsrtx.html
网友评论