Skip to content

Commit

Permalink
separate vespa cloud readme
Browse files Browse the repository at this point in the history
  • Loading branch information
kkraune committed May 8, 2020
1 parent 75e4abd commit 21095a9
Show file tree
Hide file tree
Showing 2 changed files with 48 additions and 23 deletions.
25 changes: 2 additions & 23 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,8 @@
## Featured sample applications
### album-recommendation
This is the intro application to Vespa.
Learn how to configure the schema for simple recommendation and search use cases in [album-recommendation](vespa-cloud/album-recommendation). [album-recommendation-java](vespa-cloud/album-recommendation-java) is an introduction for how to integrate Java code to process data and queries.
Learn how to configure the schema for simple recommendation and search use cases.
Try the apps on [Vespa Cloud](vespa-cloud) or [using Docker](album-recommendation-selfhosted)

### blog-recommendation
This set of sample apps goes deeper. Starting with [blog-search](blog-search), a more complex search app is build.
Expand Down Expand Up @@ -45,26 +46,6 @@ http-api-using-*

----

This repository has a set of Vespa sample applications.
Some of the applications are written for [Vespa Cloud](http://cloud.vespa.ai).
To deploy to a self-hosted, follow steps below -
refer to [album-recommendation-selfhosted](album-recommendation-selfhosted) for a working example

1. Modify _nodes_ element in services.xml, replace _count_ with _node_ elements:
```
<nodes count="1" />
<nodes>
<node hostalias="node1" distribution-key="0" />
</nodes>
```
1. Add _hosts.xml_
1. Remove _<client-authorize />_ in services.xml.
----
Note: Applications with pom.xml must be built before being deployed.
Refer to
[developing applications](http://docs.vespa.ai/documentation/jdisc/developing-applications.html#deploy)
Expand All @@ -76,5 +57,3 @@ to the Vespa sample applications.
----

Travis-CI build status: [![Build Status](https://travis-ci.org/vespa-engine/sample-apps.svg?branch=master)](https://travis-ci.org/vespa-engine/sample-apps)
[![Deploy vespa-documentation-search to Vespa Cloud](https://github.com/vespa-engine/sample-apps/workflows/Deploy%20vespa-documentation-search%20to%20Vespa%20Cloud/badge.svg?branch=master)](vespa-cloud/vespa-documentation-search)
46 changes: 46 additions & 0 deletions vespa-cloud/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,46 @@
<!-- Copyright Verizon Media. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root. -->
# Vespa Cloud sample applications


### album-recommendation
This is the intro application to Vespa.
* Learn how to configure the schema for simple recommendation and search use cases in [album-recommendation](album-recommendation).
* [album-recommendation-java](album-recommendation-java) is an introduction for how to integrate Java code to process data and queries.
* [album-recommendation-docproc](album-recommendation-docproc) is an introduction to document processing

### cord-19-search
https://cord19.vespa.ai/ is a is a full-featured application - see
* https://github.com/vespa-engine/cord-19 : frontend
* [cord-19-search](cord-19-search) : search backend

### vespa-documentation-search
[vespa-documentation-search](vespa-documentation-search) is a simple search application - refer to this for pointers on AWS integration / GitHub Actions automation

----

These applications are written for [Vespa Cloud](http://cloud.vespa.ai).
To deploy to a self-hosted, like a Docker container on developer computer, follow steps below -
refer to [album-recommendation-selfhosted](../album-recommendation-selfhosted) for a working example

1. Modify _nodes_ element in services.xml, replace _count_ with _node_ elements:
```
<nodes count="1" />
<nodes>
<node hostalias="node1" distribution-key="0" />
</nodes>
```
1. Add _hosts.xml_
1. Remove _<client-authorize />_ in services.xml.
----
Note: Applications with pom.xml must be built before being deployed.
Refer to
[developing applications](http://docs.vespa.ai/documentation/jdisc/developing-applications.html#deploy)
for more information.
[Contribute](https://github.com/vespa-engine/vespa/blob/master/CONTRIBUTING.md)
to the Vespa sample applications.

0 comments on commit 21095a9

Please sign in to comment.