Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/couchbaselabs/hands_on_n1ql


https://github.com/couchbaselabs/hands_on_n1ql

Last synced: 2 days ago
JSON representation

Awesome Lists containing this project

README

        

This repo contains the setup scripts and content for hands on n1ql.

install_couchbase.sh - download and install Centos 7 version of Couchbase

build.sh - a script to create, load and index buckets for hand_on_n1ql

### Instructions:

#### Download and install couchbase

$./install_couchbase.sh 3030

Note: install_couchbase.sh requires build number.

#### Create buckets, load buckets, create indexes and run hands_on_n1ql binary

$./build.sh

Note: build.sh assumes Couchbase Server admin credentials to be Administrator/password

To create, load and index buckets in separate steps, proceed as follows:

#### Create buckets
$ ./recreate_buckets.sh password

#### Load buckets
$ ./load_data.sh password

#### Create primary key indexes
$ ./create_indexes.sh

#### Run hands_on_n1ql (mac os). Assumes query engine is on localhost.
$ ./builds/mac_os/hands_on_n1ql

#### Run hands_on_n1ql against query engine on a specific host.
$ ./builds/mac_os/hands_on_n1ql -queryhost=myqueryhost

#### open localhost:8000

Note: recreate_buckets.sh and load_data.sh require the Couchbase Server's Administrator password