From GitHub
Sign in
Open the dashboard and sign in with GitHub or with email and password. Signing in with GitHub is what lets Vantrex see the repositories you install it on.
Install the GitHub App
Choose New project, then Install next to your GitHub account or organization. Pick the repositories you want to allow, or all of them. You are sent back to Vantrex when you finish.
Import a repository
Select the repository. Vantrex guesses the framework and the build settings; adjust them if needed and confirm. The first deployment starts immediately.
Watch it build
The deployment page streams the build log. When the status reads Ready, open the address shown.
From now on, a push to any branch creates a preview deployment, and a push to your production branch updates production. See Git deployments.
From the CLI
Install the CLI
Download the archive for your system from releases.vantrex.cloud, extract
vtxand put it on yourPATH. Check it works:$ vtx versionSign in
$ vtx loginThe CLI prints an address and a short code. Open the address in a browser, check the code matches, and approve. The CLI saves an access token and exits.
Link the folder to a project
$ cd my-site $ vtx linkThis creates a project named after the folder (use
--nameto pick another) and remembers it in.vantrex/project.json.Deploy
$ vtx deployThe source is uploaded, built remotely and the log is streamed back. The last line is your preview address. Add
--prodto deploy to production.
What next
- Add environment variables your build or server needs.
- Attach a custom domain.
- Promote and roll back deployments.
- Browse every CLI command.