The easiest way to get Vumi up & running is by using VirtualBox and Vagrant:
- Install VirtualBox
- Install Vagrant, make sure you follow the OS specific instructions.
- Clone Vumi with git clone https://github.com/praekelt/vumi.git
- Execute cd vumi
- Datawinner configuration
- Clone datawinner vumi scripts with git://github.com/mangroveorg/vumiscripts.git in some other directory
- copy vumiscripts/vumi.pp to vumi/puppet/manifests/vumi.pp
- copy vumiscripts/supervisord.datawinner.conf to vumi/supervisord.datawinner.conf
- copy datawinner_airtel_mad_1_smpp.yaml and datawinner_airtel_mad_2_smpp.yaml to vumi/config directory
- Change the POST_TO_URL in datawinner_airtel_mad_1_smpp.yaml & datawinner_airtel_mad_1_smpp.yaml to point to datawinner webserver
- Execute vagrant up, this will take some time to complete as it
- Downloads a 480MB Ubuntu 10.04 server VM
- Downloads ~ 40MB worth of Python packages
- Downloads ~ 100MB worth of packages with apt-get
- Go to http://localhost:7000/admin and log in with username vumi and password vumi for the Django based webapp.
- Go to http://localhost:7010 for the Supervisord web based management
- Go to http://localhost:7011 for the SMSC simulator console.
Note
Ubuntu 10.04 only provides version 1.3.5 of RubyGems while Vagrant requires version 1.3.6. You'll need to get an upstream version or install from source as per the OS specific instructions.
Note
Ubuntu doesn't put vagrant on your $PATH, you'll need to manually symlink it with sudo ln -s /var/lib/gems/1.8/bin/vagrant /usr/bin/