-
Notifications
You must be signed in to change notification settings - Fork 1
Install and run RapidFTR on Linux inside a virtual machine
Step by step guide at http://jmmwrite.files.wordpress.com/2008/11/virtual_box_install.pdf
Step by step guide at https://github.com/jorgej/RapidFTR/wiki/Install-and-run-RapidFTR-on-Linux
sudo apt-get install git-all sudo apt-get install openjdk-6-jdk sudo apt-get install imagemagick sudo apt-get install couchdb
To install RVM see: http://beginrescueend.com/rvm/install/
sudo apt-get install curl bash < <(curl -s https://raw.github.com/wayneeseguin/rvm/master/binscripts/rvm-installer ) apt-get install build-essential openssl libreadline6 libreadline6-dev curl git-core zlib1g zlib1g-dev libssl-dev libyaml-dev libsqlite3-0 libsqlite3-dev sqlite3 libxml2-dev libxslt-dev autoconf libc6-dev ncurses-dev automake libtool bison subversion sudo apt-get install build-essential openssl libreadline6 libreadline6-dev curl git-core zlib1g zlib1g-dev libssl-dev libyaml-dev libsqlite3-0 libsqlite3-dev sqlite3 libxml2-dev libxslt-dev autoconf libc6-dev ncurses-dev automake libtool bison subversion
Add rvm to classpath
first option: echo [[ -s "$HOME/.rvm/scripts/rvm" ]] && . "$HOME/.rvm/scripts/rvm" # Load RVM function' >> ~/.bash_profile second option: export PATH=$PATH:~/.rvm/bin/
Ruby setup
rvm install 1.8.7 rvm use 1.8.7 --default
Clone the RapidFTR project on https://github.com/jorgej/RapidFTR
Run the intall and run the application
cd RapidFTR/ bundle install bundle exec rake gems:install bundle exec rake couchdb:create bundle exec rake couchdb:create RAILS_ENV=cucumber bundle exec rake db:seed bundle exec rake app:run
To be able to access the application running in the host machine a port forwarding is needed.
3.2 - Set up the new rule to forward you guest machine IP in port 3000 to the guest IP in the port 3000
I order to work on a RapidFTR/ODK bridge is is needed to have a ODK collect installed in some Android device or in a AVD.
Step by step at http://developer.android.com/sdk/installing.html
The only important note is for Ubuntu users using a 64 bits distribution. It's needed the ia32-libs package using apt-get
apt-get install ia32-libs
Run the Android SDK Manager
cd android-sdk-linux/tools sh sudo android
Install the Android 2.1 (API7) SDK Platfor and Google APIs by Google Inc.
- Select Tools > Manage AVDs > New
Configure it as:
target: Google APIs (Google Inc.) - API Level 7
SD Card size: 100 mb