RapidSMS – Configure your own SMS Gateway on Linux

RapidSMS – Configure your own SMS Gateway on Linux

RapidSMS is a free and open-source framework for rapidly building mobile services for scale. RapidSMS is built with Python and Django and is designed for building robust, highly customized mobile services with web-based dashboards. RapidSMS provides a flexible platform and modular components for large-scale data collection, managing complex workflows, and automating data analysis.

For more details: https://www.rapidsms.org/

Installation:

First of all install Epel Repo 

http://opensourceeducation.net/configure-extra-package-eenterprise-linux-epel-repository-centos-fedora-rhel-urdu-cbt/

Option1: If you are running an CentOS6/EL6 version, enter:
——–

$ cd /tmp
$ wget http://mirror-fpt-telecom.fpt.net/fedora/epel/6/i386/epel-release-6-8.noarch.rpm
# rpm -ivh epel-release-6-8.noarch.rpm

Option2:
——–

cd /opt/
wget http://mirrors.nl.eu.kernel.org/fedora-epel/6/i386/epel-release-6-8.noarch.rpm
rpm -Uvh epel-release-6-8.noarch.rpm

Option3:
——–

If you are running an CentOS5/EL5 version, enter:
$ cd /tmp
$ wget http://download.fedoraproject.org/pub/epel/5/i386/epel-release-5-4.noarch.rpm
# rpm -ivh epel-release-5-4.noarch.rpm

# yum install python

# yum install MySQL-python

# yum install django

Now install rapidsms through pip

# yum install python-pip

# python-pip install rapidsms

cd /opt

# django-admin.py startproject –template=https://github.com/rapidsms/rapidsms-project-template/zipball/release-0.16.0 –extension=py,rst myproject

This will create a new project using the name you specified. Inside your project, you’ll find a README.rst file with instructions to setup your project.

I skipped first option in README.rst

Must set initial username and password when prompted. These credentials will be used to access login page.

install latest version of rapidsms

# git clone https://github.com/rapidsms/rapidsms.git

check that https connections are allowed for this server.

Now open a browser and connect to http://server-ip:8000

to run on specific ip and port, just run

runserver command with ipaddress:port in the end

Done, Alhamdullilah

=====================================================