Want to try out Formhub.

1. Update the Ubuntu installation

$ sudo apt-get update
$ sudo apt-get upgrade

$ sudo apt-get install default-jre gcc git python-dev python-virtualenv libjpeg-dev libfreetype6-dev zlib1g-dev rabbitmq-server

2. Install Mongodb

$ sudo apt-get install mongodb
$ sudo start mongodb

3. Setup a virtual environment

$ mkdir ~/virtual_environments
$ cd ~/virtual_environments
$ virtualenv --no-site-packages formhub
$ source formhub/bin/activate

4. Make dir for formhub and clone formhub

$ mkdir -p ~/src/formhub-app
$ cd ~/src/formhub-app
$ git clone git://github.com/modilabs/formhub.git

Got an error ”

Fixed by changing current directory

cd formhub

Then continuing normally

$ git submodule init
$ git submodule update