Sha256: dd73b5e335327704b428f0d378ed4fd7b9635fd18ae716952bf303915bb6b63f
Contents?: true
Size: 1.79 KB
Versions: 1
Compression:
Stored size: 1.79 KB
Contents
# Couchbase Lite Local Run a local instance of couchbase lite on you Macbook or Raspberry Pi and have it accessible via HTTP. ## What? Couchbase Lite is a mobile database solutin to provide a NoSQL database for small devices. This little tool runs it locally and exposes it's HTTP interface so you can interact with it from anything on your local machine (or even the outside). Couchbase Lite also provides syncinc capabilities so you can sync your local database to a remote using Couchbase Server. Take a look at [the REST API](http://developer.couchbase.com/mobile/develop/references/couchbase-lite/rest-api/index.html) for everything you can do. ## How? This little jRuby tool is heavily inspired by [Couchbase-Lite-PhoneGap-Plugin](https://github.com/couchbaselabs/Couchbase-Lite-PhoneGap-Plugin) which does the same thing on android and iOS, but it runs locally on your Mac (or Pi) ## Install and run ### Prebuild jar Download the latest jar from [the releases](https://github.com/couchbaselabs/couchbase-lite-local/releases) unpack and run via ``` $ java -jar couchbase_lite_local.jar ``` ### Source clone the git repository and install the dependencies ``` $ git clone https://github.com/couchbaselabs/couchbase-lite-local $ bundle install ``` and run the contained script ``` $ ./bin/cbl-local ``` make sure you are using [JRuby](http://jruby.org/) ## Build The jar for this bundles everything needed so it can be run standalone, to do this it uses [warbler](https://github.com/jruby/warbler). To build the jar run ``` $ bundle exec rake jar ``` ## Todos - add option to point to an existing cblite data folder - add the option to pass a sync url to actually sync with a remote - advertise cblite via bonjour so it can be discovered more easily for local syncing - add comand line option to set port
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
couchbase_lite_local-0.0.2-universal-java-1.7 | README.md |