Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/abtris/vagrant-couchbase
CouchBase virtual enviroment to test CouchBase Cluster
https://github.com/abtris/vagrant-couchbase
Last synced: about 1 month ago
JSON representation
CouchBase virtual enviroment to test CouchBase Cluster
- Host: GitHub
- URL: https://github.com/abtris/vagrant-couchbase
- Owner: abtris
- Created: 2013-04-26T07:23:40.000Z (over 11 years ago)
- Default Branch: master
- Last Pushed: 2023-12-01T14:28:01.000Z (12 months ago)
- Last Synced: 2024-04-15T03:04:08.755Z (7 months ago)
- Language: Ruby
- Homepage:
- Size: 6.84 KB
- Stars: 3
- Watchers: 2
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: readme.md
Awesome Lists containing this project
README
# CouchBase cluster
Install [vagrant](http://www.vagrantup.com/)
Download package for install: [http://packages.couchbase.com/releases/2.0.1/couchbase-server-enterprise_x86_2.0.1.deb](http://packages.couchbase.com/releases/2.0.1/couchbase-server-enterprise_x86_2.0.1.deb)
wget http://packages.couchbase.com/releases/2.0.1/couchbase-server-enterprise_x86_2.0.1.deb
For ruby you need install library and gem:
Mac OS X:
brew install https://github.com/couchbase/homebrew/raw/stable/Library/Formula/libcouchbase.rband gem
gem install couchbase
Documentation: [http://www.couchbase.com/develop/ruby/current](http://www.couchbase.com/develop/ruby/current)
Code examples: [https://github.com/couchbaselabs/DeveloperDay](https://github.com/couchbaselabs/DeveloperDay)
Make hello world:
```ruby
require 'rubygems'
require 'couchbase'client = Couchbase.connect(:bucket => "beer-sample",
:hostname => "33.33.33.10")beer = client.get("aass_brewery-juleol")
puts "#{beer['name']}, ABV: #{beer['abv']}"beer['comment'] = "Random beer from Norway"
client.replace("aass_brewery-juleol", beer)client.disconnect
```Puppet
- [https://github.com/blom/puppet-couchbase](https://github.com/blom/puppet-couchbase)
Chef
- [https://github.com/getaroom/chef-couchbase](https://github.com/getaroom/chef-couchbase)