This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import json | |
import sys | |
filename = sys.argv[1] | |
data = json.load(open(str(filename))) | |
for i in range(0, len(data)): | |
treeid = data[i]['TREE_ID'] | |
outfile = open('./output/' + str(treeid) + '.json', 'w') | |
json.dump(data[i], outfile) | |
outfile.close() |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
"recipe[couchbase::server]", | |
"recipe[couchbase::setup_cluster]", | |
"recipe[couchbase::test_buckets]", | |
"role[east_cluster]" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
default['couchbase']['server']['edition'] = "community" | |
default['couchbase']['server']['version'] = "2.0.1" | |
default['couchbase']['server']['username'] = "Administrator" | |
default['couchbase']['server']['password'] = "password" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
default['couchbase']['server']['edition'] = "community" | |
default['couchbase']['server']['version'] = "2.0.1" | |
default['couchbase']['server']['username'] = "Administrator" | |
default['couchbase']['server']['password'] = "password" | |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
bin/plugin -install mobz/elasticsearch-head |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
bin/elasticsearch |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
echo "couchbase.password: password" >> config/elasticsearch.yml | |
echo "couchbase.username: Administrator" >> config/elasticsearch.yml |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
cd elasticsearch-0.19.9 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
bin/plugin -install couchbaselabs/elasticsearch-transport-couchbase/1.0.0-dp |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
bin/plugin -install couchbaselabs/elasticsearch-transport-couchbase/1.0.0-dp |
NewerOlder