Couchbase
  • Why NoSQL?
  • Couchbase Server
  • Download
  • Resources
  • Careers
Home | Forums | SDKs | SDKs

Starting the serve via code.

1 reply [Last post]
  • Login or register to post comments
Fri, 01/27/2012 - 09:06
bartolomeo.romano
Offline
Joined: 01/24/2012
Groups: None

Would that be possible to start a Coucbase server through source code or in a way that would allow me to perform my integration tests without having the server installed?

Top
  • Login or register to post comments
Mon, 01/30/2012 - 05:16
jan
Offline
Joined: 02/15/2011
Groups: None

Hi Bartolomeo,

Depending on the platform you are on, starting Couchbase Server from code should be easy. On Linux/Unix, you should be able to call the regular start scripts, e.g `/etc/init.c/couchbase-server start`. On Mac, we do ship a Mac Application bundle, but all that does is call an internal start script as well. If you are not afraid too dig into the Application bundle, you should be able to call that as well, if not `open Couchbase-Server.app` should do the trick, but it will launch the UI Application for you.

On Windows, I'm afraid I don't know if any of the above is possible.

A further option is using a mock server that we developed internally and that we started using for testing our SDKs: https://github.com/couchbase/CouchbaseMock It isn't fully featured yet, but it should get you over the hump.

Let us know if you have any more questions.

Cheers
Jan
--

Top
  • Login or register to post comments
  • Login or register to post comments
  • Login
  • Register

Company

  • About Us
  • Leadership
  • Customers
  • Partners
  • Contact Us

Product

  • Couchbase Server
  • Couchbase SDKs
  • Use Cases
  • Documentation
  • Forums

Open Source

  • Couchbase Project
  • Couchbase vs. CouchDB

Commercial

  • Subscriptions & Support
  • Training & Services

News

  • Blog
  • Newsletter
  • Press Releases
  • Buzz

Follow Us

    
  • Customer Login
  • Terms of Service
  • Privacy Policy
  • Trademark Policy
  • Site Map

© 2013 COUCHBASE All rights reserved.

Sign in to Couchbase Community

close
  • Create new account
  • Request new password
You are logging into the Forums, Wiki and Issue Tracker