#!/bin/bash

couchbase-cli bucket-create -c localhost:9000 \
  -u Administrator -p asdasd  \
  --bucket="default"  \
  --bucket-type=couchbase  \
  --bucket-ramsize=256  \
  --bucket-replica=1  \
  --enable-flush=1  \
  --wait

command time -v cbimport json -c localhost:9000 -u Administrator -p asdasd -b "default" -d file://test.json -f list -t 2 -g "#MONO_INCR#" -v

# couchbase-cli bucket-create -c localhost:9000 \
#   -u Administrator -p asdasd  \
#   --bucket="default"  \
#   --bucket-type=couchbase  \
#   --bucket-ramsize=256  \
#   --bucket-replica=1  \
#   --enable-flush=1  \
#   --wait
#
# sleep 5
#
# command time -v cbimport json -c localhost:9000 -u Administrator -p asdasd -b "default" -d file://test.json -f list -t 2 -g "#MONO_INCR#" -v
