Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/couchbaselabs/hands_on_n1ql
https://github.com/couchbaselabs/hands_on_n1ql
Last synced: 2 days ago
JSON representation
- Host: GitHub
- URL: https://github.com/couchbaselabs/hands_on_n1ql
- Owner: couchbaselabs
- Created: 2015-03-18T10:40:47.000Z (almost 10 years ago)
- Default Branch: master
- Last Pushed: 2017-05-04T19:22:30.000Z (over 7 years ago)
- Last Synced: 2024-04-12T16:19:14.815Z (9 months ago)
- Language: JavaScript
- Size: 9.47 MB
- Stars: 3
- Watchers: 192
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
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