diff options
author | freva <valerijf@yahoo-inc.com> | 2016-12-21 11:45:54 +0100 |
---|---|---|
committer | freva <valerijf@yahoo-inc.com> | 2016-12-21 11:45:54 +0100 |
commit | 7f80e9910e1df82caa770c3284ab8dba62818ea3 (patch) | |
tree | 90a70c092fc0fbb1fe6e924c95b0b10cf03371dd /node-admin/README.md | |
parent | e4204a1dfcc24583f799b42df05f63b9c1762729 (diff) |
Updated RunVespaLocal to use sample-apps/basic-search-for-docker
Diffstat (limited to 'node-admin/README.md')
-rw-r--r-- | node-admin/README.md | 10 |
1 files changed, 7 insertions, 3 deletions
diff --git a/node-admin/README.md b/node-admin/README.md index 26d386458b9..2302d1346e6 100644 --- a/node-admin/README.md +++ b/node-admin/README.md @@ -42,13 +42,17 @@ To start a local zone, simply run: ### Deploying a Local Application -To deploy an application, check out `vespa/basic-search-for-docker` to `~`, and -package it with ```mvn package```, then deploy it with: +Package and deploy vespa application by running: ``` - Path pathToApp = Paths.get("/home/<username>/basic-search-for-docker/target/application.zip"); runVespaLocal.deployApplication(pathToApp); ``` +where `pathToApp` is for example [vespa/sample-apps/basic-search-for-docker](../sample-apps/basic-search-for-docker). +If the deployment is successful, the final log entry should be something like +``` +INFO: Endpoint http://cnode-1:4080/ is now ready +``` +use this endpoint URL to feed or query your application as described in [basic-search-for-docker/README](../sample-apps/basic-search-for-docker/README.md). You can delete application with |