Created
February 22, 2012 15:35
-
-
Save mikeymckay/1885577 to your computer and use it in GitHub Desktop.
Setting up an android couchdb phonegap apk builder
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Ubuntu 10.04 | |
#Setup android SDK | |
sudo apt-get install openjdk-6-jdk ant1.8 wget | |
wget http://dl.google.com/android/android-sdk_r16-linux.tgz | |
tar -xvzf android-sdk_r16-linux.tgz | |
cd android-sdk-linux/tools | |
./android update sdk --no-ui --filter platform-tool | |
./android update sdk --no-ui --filter 9 | |
# Setup couchdb | |
cd ~ | |
# Add universe repo to /etc/apt/sources.list | |
sudo apt-get install make gcc zlib1g-dev libssl-dev rake git-core | |
git clone git://github.com/iriscouch/build-couchdb | |
cd build-couchdb | |
git submodule init | |
git submodule update | |
rake | |
# Setup Android Couchbase Callback | |
git clone https://github.com/couchbaselabs/Android-Couchbase-Callback.git | |
vim local.properties | |
ant debug |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment