Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

  1. Checkout the repository by git clone https://github.com/rnewson/couchdb-lucene.git ( Some breakage likely on master for a while. Use 1.1.0 release (https://github.com/rnewson/couchdb-lucene/releases/tag/v1.1.0) if you want stable.)
  2. Enter into the application root directory by the command : cd couchdb-lucene
  3. Run the command:  mvn install
  4. Run the command: mvn
  5. Enter into the target folder you will find a tar and a zip folder.
  6. Unzip or Untar the folder and put it to a suitable location i.e /opt
  7. Rename the folder couchdb-lucene-<version>-dist.* to couchdb-lucene

...

CouchDB-Lucene run as Service

...

  1. Enter into directory by the

...

  1. command  cd /opt/couchdb-lucene/tools/etc/init.d/couchdb-lucene/

...

  1. Edit the couchdb-lucene file

...

  1. as DAEMON=/opt/couchdb-lucene/bin/run for your application directory path.

...

  1. If you have set your admin user in couchdb Navigate to /opt/couchdb-lucene/conf then Edit the couchdb-lucene.ini and edit the last code url = http://localhost:5984/ with url = http://youradminuser:youradminpass@localhost:5984/

  2. After saving run the command in the terminal cp couchdb-lucene /etc/init.d/

...

  1. Restart couchdb service to fall your change effect executing the command sudo service couchdb restart

...

  1. Start the couchdb-lucene service executing the command sudo service couchdb-lucene start to create the Channel with couchdb server

...