mirror of https://github.com/vapor/docs.git
build
This commit is contained in:
parent
9ce51930d8
commit
c554bd2140
|
|
@ -276,8 +276,8 @@
|
|||
<ul class="md-nav__list">
|
||||
|
||||
<li class="md-nav__item">
|
||||
<a href="#framework-commands" title="Framework Commands" class="md-nav__link">
|
||||
Framework Commands
|
||||
<a href="#application-commands" title="Application Commands" class="md-nav__link">
|
||||
Application Commands
|
||||
</a>
|
||||
|
||||
</li>
|
||||
|
|
@ -1647,8 +1647,8 @@
|
|||
<ul class="md-nav__list">
|
||||
|
||||
<li class="md-nav__item">
|
||||
<a href="#framework-commands" title="Framework Commands" class="md-nav__link">
|
||||
Framework Commands
|
||||
<a href="#application-commands" title="Application Commands" class="md-nav__link">
|
||||
Application Commands
|
||||
</a>
|
||||
|
||||
</li>
|
||||
|
|
@ -1733,7 +1733,7 @@
|
|||
</pre></div>
|
||||
|
||||
|
||||
<h3 id="framework-commands">Framework Commands<a class="headerlink" href="#framework-commands" title="Permanent link">¶</a></h3>
|
||||
<h3 id="application-commands">Application Commands<a class="headerlink" href="#application-commands" title="Permanent link">¶</a></h3>
|
||||
<p>The <code>vapor run</code> command is a special toolbox command that forwards to your Vapor application.</p>
|
||||
<p>You can use <code>vapor run serve</code> to boot your application, or <code>vapor run help</code> to view all available application-level commands. This includes custom commands you may have added to your application.</p>
|
||||
<div class="admonition warning">
|
||||
|
|
|
|||
|
|
@ -192,7 +192,7 @@
|
|||
},
|
||||
{
|
||||
"location": "/getting-started/toolbox/",
|
||||
"text": "Install Toolbox\n\n\nVapor's command line interface provides shortcuts and assistance for common tasks.\n\n\n\n\n\n\nTip\n\n\nIf you do not want to use the Toolbox or templates, checkout the \nManual\n quickstart.\n\n\n\n\nHelp\n\n\nHelp prints useful information about available commands and flags. You can also run the \n--help\n option on any Toolbox command.\n\n\nvapor --help\n\n\n\n\n\nFramework Commands\n\n\nThe \nvapor run\n command is a special toolbox command that forwards to your Vapor application.\n\n\nYou can use \nvapor run serve\n to boot your application, or \nvapor run help\n to view all available application-level commands. This includes custom commands you may have added to your application.\n\n\n\n\nWarning\n\n\n\n\nUsing \nvapor run --help\n will provide information about the \nrun\n command itself and will not forward to your Vapor application.\n\n\nUpdating\n\n\nThe toolbox should be updated by the package manager it was installed with.\n\n\nHomebrew\n\n\nbrew upgrade vapor\n\n\n\n\n\nAPT\n\n\nsudo apt-get update\nsudo apt-get install vapor\n\n\n\n\n\nTemplates\n\n\nThe toolbox can create a project from the Vapor basic-template or any other git repo.\n\n\nvapor new \nname\n \n[\n--template\n]\n\n\n\n\n\n\n\n\n\n\n\n\nName\n\n\nFlag\n\n\nDescription\n\n\n\n\n\n\n\n\n\n\nAPI\n\n\n--template=api\n\n\nJSON API with Fluent database.\n\n\n\n\n\n\nWeb\n\n\n--template=web\n\n\nHTML website with Leaf templates.\n\n\n\n\n\n\n\n\n\n\nNote\n\n\nIf you do not specify a template option, the API template will be used.\nThis may change in the future.\n\n\n\n\nOptions\n\n\nThe toolbox will build an absolute URL based on what you pass as the template option. \n\n\n\n\n--template=web\n clones \nhttp://github.com/vapor/web-template\n\n\n--template=user/repo\n clones \nhttp://github.com/user/repo\n.\n\n\n--template=http://example.com/repo-path\n clones the full url given.\n\n\n--branch=foo\n can be used to specify a branch besides \nmaster\n.",
|
||||
"text": "Install Toolbox\n\n\nVapor's command line interface provides shortcuts and assistance for common tasks.\n\n\n\n\n\n\nTip\n\n\nIf you do not want to use the Toolbox or templates, checkout the \nManual\n quickstart.\n\n\n\n\nHelp\n\n\nHelp prints useful information about available commands and flags. You can also run the \n--help\n option on any Toolbox command.\n\n\nvapor --help\n\n\n\n\n\nApplication Commands\n\n\nThe \nvapor run\n command is a special toolbox command that forwards to your Vapor application.\n\n\nYou can use \nvapor run serve\n to boot your application, or \nvapor run help\n to view all available application-level commands. This includes custom commands you may have added to your application.\n\n\n\n\nWarning\n\n\n\n\nUsing \nvapor run --help\n will provide information about the \nrun\n command itself and will not forward to your Vapor application.\n\n\nUpdating\n\n\nThe toolbox should be updated by the package manager it was installed with.\n\n\nHomebrew\n\n\nbrew upgrade vapor\n\n\n\n\n\nAPT\n\n\nsudo apt-get update\nsudo apt-get install vapor\n\n\n\n\n\nTemplates\n\n\nThe toolbox can create a project from the Vapor basic-template or any other git repo.\n\n\nvapor new \nname\n \n[\n--template\n]\n\n\n\n\n\n\n\n\n\n\n\n\nName\n\n\nFlag\n\n\nDescription\n\n\n\n\n\n\n\n\n\n\nAPI\n\n\n--template=api\n\n\nJSON API with Fluent database.\n\n\n\n\n\n\nWeb\n\n\n--template=web\n\n\nHTML website with Leaf templates.\n\n\n\n\n\n\n\n\n\n\nNote\n\n\nIf you do not specify a template option, the API template will be used.\nThis may change in the future.\n\n\n\n\nOptions\n\n\nThe toolbox will build an absolute URL based on what you pass as the template option. \n\n\n\n\n--template=web\n clones \nhttp://github.com/vapor/web-template\n\n\n--template=user/repo\n clones \nhttp://github.com/user/repo\n.\n\n\n--template=http://example.com/repo-path\n clones the full url given.\n\n\n--branch=foo\n can be used to specify a branch besides \nmaster\n.",
|
||||
"title": "Toolbox"
|
||||
},
|
||||
{
|
||||
|
|
@ -206,9 +206,9 @@
|
|||
"title": "Help"
|
||||
},
|
||||
{
|
||||
"location": "/getting-started/toolbox/#framework-commands",
|
||||
"location": "/getting-started/toolbox/#application-commands",
|
||||
"text": "The vapor run command is a special toolbox command that forwards to your Vapor application. You can use vapor run serve to boot your application, or vapor run help to view all available application-level commands. This includes custom commands you may have added to your application. Warning Using vapor run --help will provide information about the run command itself and will not forward to your Vapor application.",
|
||||
"title": "Framework Commands"
|
||||
"title": "Application Commands"
|
||||
},
|
||||
{
|
||||
"location": "/getting-started/toolbox/#updating",
|
||||
|
|
|
|||
Loading…
Reference in New Issue