Dolly3
The thing you move your couch with...
Installation
Add this line to your application's Gemfile:
gem 'dolly3'
And then execute:
$ bundle
Or install it yourself as:
$ gem install dolly3
Usage
TODO: Write usage instructions here
Development
After checking out the repo, run bin/setup
to install dependencies. You can also run bin/console
for an interactive prompt that will allow you to experiment.
To install this gem onto your local machine, run bundle exec rake install
. To release a new version, update the version number in version.rb
, and then run bundle exec rake release
, which will create a git tag for the version, push git commits and tags, and push the .gem
file to rubygems.org.
Contributing
Bug reports and pull requests are welcome on GitHub at https://github.com/[USERNAME]/dolly3.
## Migrating from couch 1.x to 2.x
You will need to uninstall the couchdb service with brew
brew services stop couchdb
brew services uninstall couchdb
Download the application from the following source
http://couchdb.apache.org/#download
launch fauxton and check your installation
Copy this file into your filesystem
make it executable
chmod +x couchup.py
and run it
./couchup.py -h
You might need to install python 3 and pip3 and the following libs
pip3 install requests progressbar2
move your .couch files into the specified database_dir
in your fauxton config
$ ./couchup list # Shows your unmigrated 1.x databases
$ ./couchup replicate -a # Replicates your 1.x DBs to 2.x
$ ./couchup rebuild -a # Optional; starts rebuilding your views
$ ./couchup delete -a # Deletes your 1.x DBs (careful!)
$ ./couchup list # Should show no remaining databases!