couchdb-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Apache Wiki <wikidi...@apache.org>
Subject [Couchdb Wiki] Update of "Installing_on_Android" by MattAdams
Date Thu, 03 Feb 2011 02:31:17 GMT
Dear Wiki user,

You have subscribed to a wiki page or wiki category on "Couchdb Wiki" for change notification.

The "Installing_on_Android" page has been changed by MattAdams.
http://wiki.apache.org/couchdb/Installing_on_Android?action=diff&rev1=19&rev2=20

--------------------------------------------------

   * As alluded to below, I was unable to get Couch to agree to link with the static Spidermonkey
library.  This is due to the fact that C++ support in more recent official releases of the
Google SDK/NDK is lacking.  It would be preferable to link statically because it would remove
the need for a separate file ({{{libmozjs.so}}}) and thus one less thing to go wrong (there
are several workarounds below & in related patches for the fact that we need to worry
about dynamic linking with regards to the default couch query server, {{{couchjs}}}).
  
   * Pay close attention to the instructions.  You will need to replace {{{com.your.namespace}}}
with something appropriate for your project through the instructions below and in the related
patches.  Also, '''if you are not producing an official build of Couch, be sure to configure
Couch and the packaging steps to install it in somewhere other than''' {{{/sdcard/couch}}}
'''and use a port other than''' {{{5984}}} '''to avoid clobbering the official builds'''.
+ 
+  * Once installed you will probably want to interact with Futon on Android from your workstation.
 Run {{{$ adb forward tcp:5985 tcp:5984}}} and point your web browser to {{{http://localhost:5985}}}
to access Couch.  Note that some of the test suite expects to be run from {{{:5984}}} and
will fail when accessed through this configuration.  To run the complete set of tests you
will need to stop your local Couch instance (if any) and set the forward up on {{{:5984}}}
on both ends.
  
  == Credits ==
  

Mime
View raw message