Skip to content

VoiceX is an infrastructure designed for rural areas/slums where people do not have computers/internet access. The goal is to enable people to search for information, generate and share information, exchange knowledge, be social, and much more, all through their feature phones, over SMS. This infrastructure is available over a toll-free number i…

License

samkariu/voicex

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

##### VoiceX Installation Instruction #####

## setup environment ##

# install required linux packages
sudo apt-get install postgresql
sudo apt-get install rabbitmq-server

# create rabbitmq user and vhost
sudo rabbitmqctl add_user voicex voicex
sudo rabbitmqctl add_vhost /voicex
sudo rabbitmqctl set_permissions -p /voicex voicex ".*" ".*" ".*"

# setup a virtual environment
virtualenv voicex
cd voicex
source bin/activate

# install required python packages
pip install django
pip install south
pip install psycopg2
pip install beautifulsoup4
pip install stemming
pip install djcelery

# download voicex
mkdir src
cd src
git clone git@github.com:abhardwaj/voicex.git



## make configuration changes ##

# edit django configuration settings
vi http_handler/settings.py 

# setup postgres database
psql -U postgres -W -h localhost
create database voicex

# install schema
cd src/voicex
python manage.py syncdb
python manage.py migrate



## running in development mode ##

# start celeryd
python manage.py celeryd

# run voicex server
python manage.py runserver



## running in production mode with apache ##

# add the following lines in /etc/apache2/httpd.conf
WSGIDaemonProcess voicex python-path=/path/to/voicex
WSGIScriptAlias /voicex /path/to/voicex/http_handler/wsgi.py process-group=voicex application-group=%{GLOBAL}

# create a celeryd script in /etc/init.d

# set defaults for /etc/defaults/celeryd
CELERYD_CHDIR="/path/to/voicex/"
CELERYD_OPTS="--time-limit=300"
CELERY_CONFIG_MODULE="celeryconfig"

About

VoiceX is an infrastructure designed for rural areas/slums where people do not have computers/internet access. The goal is to enable people to search for information, generate and share information, exchange knowledge, be social, and much more, all through their feature phones, over SMS. This infrastructure is available over a toll-free number i…

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published