@@ -24,6 +24,7 @@ All the parameters required to run the demo can be provided through environment
2424- ` VONAGE_APPLICATION_ID ` : Vonage application UUID.
2525- ` VONAGE_PRIVATE_KEY_PATH ` : Absolute path to the private key associated with your Vonage application.
2626- ` VCR_PORT ` : Port to run the demo on. By default, this is ` 8080 ` .
27+ - ` VONAGE_SERVER_URL ` : The public base URL for the application. For example, this might be your ngrok instance URL.
2728
2829Other parameters can be provided for convenience or defaults for pre-populating certain fields. These are:
2930
@@ -40,9 +41,16 @@ If you have [IntelliJ IDEA](https://www.jetbrains.com/idea/) installed, you can
4041and run it through the IDE, where the entry point is the ` Application ` class
4142(src/main/java/com/vonage/sample/serversdk/springboot/Application.java).
4243
43- To run the demo standalone from the command line, do ` mvn install spring-boot:run ` .
44+ To run the demo standalone from the command line, simply invoke ` mvn ` or ` ./mvnw ` if you don't have it installed .
4445Then open a browser to [ localhost:8080] ( http://localhost:8080 ) to use the application.
4546
47+ The default Maven goal for this project is ` spring-boot:run ` . To ensure a full build, you can use ` mvn clean install ` .
48+
49+ On startup, your Vonage application will be updated with the webhook URLs for the demo.
50+ This is so that you don't have to manually set the webhook URLs on the dashboard every time you restart
51+ ngrok (or your preferred HTTP tunneling service). You can verify this manually by checking the application
52+ from [ the Vonage dashboard] ( https://dashboard.nexmo.com/applications ) .
53+
4654### Maven and Gradle
4755As a demo application, this project uses Maven, however it can be adapted to work with Gradle too.
4856You can use the Maven wrapper by invoking ` ./mvnw ` . For a local installation, you can download this
0 commit comments