Getting Started with the Toolbox¶
All Vapor Cloud commands are available under the
cloud command group.
You can view help using
vapor cloud --help.
The first step to getting started using Vapor Cloud commands is to login.
vapor cloud login
If you don't have an account, you can signup.
vapor cloud signup
Once you've logged in, you can create your first deployment. If you don't already have a project you want to deploy, you can create a new one.
vapor new HelloWorld --branch=beta cd HelloWorld
Make sure you are in the root directory of your project (where the
Package.swift) file is, and run
the following command.
vapor cloud deploy
The toolbox will automatically detect your Vapor project and guide you through your first deployment.
You can use the toolbox even while not inside of a Vapor project directory. You will instead be presented with menus to choose which application, environment, etc you would like to deploy.
After you have followed the prompts, and your deployment has finished, you can visit your project online!