Skip to content

vip validate preflight

Runs preflight tests to validate if your application is ready to be deployed

Usage

vip validate-preflight [options]

Options

OptionDescription
-d, --debugActivate debug output
-h, --helpOutput the help for the (sub)command
-j, --jsonOutput the results as JSON (disabled by default)
-n, --node-versionSelect a specific target Node.JS version in semver format (MAJOR.MINOR.PATCH) or a MAJOR
-P, --path[value] Path to the app to be tested. Defaults to current working directory.
-p, --portConfigure the port to use for the app (defaults to a random port between 3001 and 3999)
-V, --verboseIncrease logging level to include app build and server boot up messages (disabled by default)
-v, --versionOutput the version number
-w, --wait Configure the time to wait in ms for the app to boot up. Do not change unless you have issues (defaults to 3000)

Examples

- Runs the preflight tests to validate if your application is ready to be deployed to VIP Go
$ vip @mysite.production validate preflight

- Runs the preflight tests, but output the results in JSON format, and redirect the output to a file
$ vip @mysite.production validate preflight --json > results.json

Last updated: February 09, 2024