jovo run

Learn how to use the jovo run command of the Jovo CLI to test your code locally.

Introduction

jovo run command

You can use the jovo run command to start the development server in your index.js file (default is port 3000), and then point the Jovo Webhook to it.

You can also specify the file you want to run:

Options

--port, -p: Defines the port that will be used to run the local development server. Default: 3000.

--inspect: Run debugging mode.

--stage: Specify the stage where the configuration will be taken from.

--webhook-only: Starts the Jovo webhook proxy without executing the code.

--disable-jovo-debugger: Disables the Jovo debugger.

--model-test: Activates the language model test.

--timeout: Sets timeout in milliseconds.

--record, -r: Can be used to record requests and responses of your Jovo app for testing purposes.

Integrations

If you want to see another integration, please feel free to submit an issue. Thanks!

Here is a list of integrations that work with jovo run:

Command Description
--bst-proxy Creates a webhook URL for local testing and integrates with Bespoken Analytics
--watch Uses nodemon to monitor changes and automatically restart the server

bst proxy

You can use the bst proxy to create a webhook URL easily:

The result should look like this:

Jovo and bst proxy

The URL also comes with logging and analytics capabilities for prototyping and testing.

nodemons

With this integration, you don't have to manually restart your server with every change you make to the application:

For this, we're using nodemon, a neat package that monitors your app files and automatically restarts the server.

Comments and Questions

Any specific questions? Just drop them below. Alternatively, you can also fill out this feedback form. Thank you!

Join Our Newsletter

Be the first to get our free tutorials, courses, and other resources for voice app developers.