-
Notifications
You must be signed in to change notification settings - Fork 7
Building
sharpred edited this page Sep 13, 2012
·
5 revisions
As of August 2011, the couchbase_ti module links against the prebuilt Couchbase framework. Here's how to get started:
- Download the framework from http://www.couchbase.com/wiki/display/couchbase/iOS and unzip it.
- Copy the Couchbase.framework directory to ~/Library/Frameworks.
- Clone the couchbase_ti project using
git clone [email protected]:pegli/couchbase_ti.git - Cd to
couchbase_ti/mobile/iosand./build.py - To execute the example app, run
titanium run --platform=iphone
If you are going to modify the couchbase_ti module for your project, there are a couple of things to keep in mind:
-
The configuration files for the CouchDB database are under the Documents directory, so they are not overwritten each time you install the app. If you need to make changes to the config files between releases, you must write code to copy your new config file to the Documents dir.
-
Paths in the configuration file appear to be relative to the config file location itself. I'm working on confirming this.