Skip to content

Commit

Permalink
Merge pull request blackberry#7 from hungc/branch_1.1.0
Browse files Browse the repository at this point in the history
Fix instructions for setting up installer
  • Loading branch information
hungc committed Jan 10, 2012
2 parents c970bb6 + 64c50f6 commit 75e524c
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions PlayBook-build/build.sh
Expand Up @@ -107,6 +107,7 @@ if [ ! -f ./Makefile ] ; then
--with-js-lib=$SRC_TOP/SpiderMonkey/PlayBook-build/lib \
--with-js-include=$BUILD_ROOT/include/SpiderMonkey/js
fi

make
make install
popd
Expand All @@ -133,7 +134,8 @@ echo "ERL_DIR=$ERL_DIR" >> install-vars.sh
popd

# Create installer
ZIP_FILE=$BUILD_ROOT/couchdb-installer.zip
ZIP_FILENAME=couchdb-installer.zip
ZIP_FILE=$BUILD_ROOT/$ZIP_FILENAME
if [ -f $ZIP_FILE ] ; then
rm $ZIP_FILE
fi
Expand Down Expand Up @@ -167,10 +169,11 @@ echo "Then scp the installer file to the PlayBook."
echo "SSH to the PlayBook as devuser, unzip the installer and run install.sh."
echo ""
echo "For example:"
echo " scp -i <path to RSA-4096 private key> ${ZIP_FILE} devuser@169.254.0.1:"
echo " blackberry-connect 169.254.0.1 -password <password> -sshPublicKey ~/.ssh/id_rsa.pub"
echo " scp ${ZIP_FILENAME} devuser@169.254.0.1:"
echo " ssh devuser@169.254.0.1"
echo " mkdir couchdb-install"
echo " unzip ${ZIP_FILE}.gz -d couchdb-install"
echo " unzip ${ZIP_FILENAME} -d couchdb-install"
echo " cd couchdb-install"
echo " ./install.sh"
echo "############################################################################"
Expand Down

0 comments on commit 75e524c

Please sign in to comment.