GitXplorerGitXplorer
d

couchgap

public
35 stars
2 forks
8 issues

Commits

List of commits on branch master.
Unverified
24eff11dabb59fdc76eeaa694cfca732bc4bdcd4

bump minimum iOS version to 4.3

ddch committed 14 years ago
Unverified
f4a2715e2f0e1cfa2b529d46ecbdd620c2df241f

CouchGap dammit not PhoneGap!

ddch committed 14 years ago
Unverified
acde291e1e8bc3ec2fe950c4ad5298692558ad95

removed invalid & in phonegap build script that wipes www/index.html phonegap.*.js each time

ddch committed 14 years ago
Unverified
d75818ad874d98c609cae390dc44cd0c88c8c461

RRRRREADME Seymour!

ddch committed 14 years ago
Unverified
f33dc000280f074a1fa3b18e2180c1aa9e866097

include couchgap workspace files

ddch committed 14 years ago
Unverified
3b847e53e4ae74010fbd1ed1c5e552951839cc0e

add in www/index.html to fix issue#6

ddch committed 14 years ago

README

The README file for this repository.

CouchGap

Is a work in progress for getting PhoneGap and iOS-Couchbase's build of Apache CouchDB running together as a single App on iOS devices, with the aim of providing "JeOS" to run Couch Apps fully.

  • All you need to get started is Xcode4, git, and an iOS device.
  • At the moment, basically it only compiles cleanly.
  • "Some functionality may be degraded, or even missing"

Ground Control to Major Tom

  • Install Xcode 4 if you haven't already

  • Build and Install latest PhoneGap iOS Framework from github

      git clone https://github.com/phonegap/phonegap-iphone.git
      cd phonegap-iphone
      make
      open PhoneGapInstaller.pkg
    
  • continue, continue, install for me only, continue, install, close

Commencing Countdown

  • Get the latest CouchGap bundle from github

      git clone https://dch@github.com/dch/couchgap.git
      cd couchgap
      open couchgap.xcworkspace/
    
  • change the workspace Identifier and Version to suit

  • add more phone fluff if you want to in www/

Engines On

  • select scheme CouchGap | iPhone 4.3 Simulator or iOS Devices
  • use apple-R to build and run
  • report back on your success, or add some more issues

Release Notes

Please check the issues before providing a patch or a suggestion.

Thanks

  • the CouchDB community
  • Couchbase for sponsoring & pulling iOS-Couchbase together
  • Nitobi for PhoneGap
  • mobile-couchbase list & nascent community

Licence

Apache 2.0 same as CouchDB.

Building from source

  • install the pre-requisites above

  • Build the latest iOS-Couchbase framework from github

      git clone https://github.com/couchbaselabs/iOS-Couchbase.git --recurse
      open iOS-Couchbase/Couchbase.xcworkspace
      # build TouchJSON-iphonesimulator
      # build TouchJSON-iphoneos
      # build Couchbase-iphonesimulator
      # build Couchbase-iphoneos
      # build Couchbase.bundle
    
  • Check it works by building & running CouchDemo-iphonesimulator

  • create a new Xcode4 workspace for your app

  • create a new project within that based on the PhoneGap template

  • update Identifier and Version as needed

TODO explain missing voodoo using Marty's Notes