Web Application is made to remind John his name as he is suffering Amnesia. The Web App will send a Text SMS every hour to remind him of his name (except the night hours considered as 10:00 PM to 7:00 AM).
If the John wants to use this Web App, he should have his number verified on Twilio from the admin's account. Verification is done through an OTP. Contact the Admin
If the status of the message is Sent or Delivered after 1min of sending the message, the status is categorised as Delivered otherwise it is categorised as Failed or Undelivered and the message is sent again (Max 5 Times). Like if John's phone is switched off when the message was sent it will categorised as Sent message as John will recieve the message as he switches on his phone
After entering the number, John will be redirected to Logs Information of Delivered, Undelivered
To get benefit of this application, one need to have Twilio account with Account Id, Auth key and a numbered verified by Twilio for SMS services.
This application demonstates a simple Web Application based on Django Framework of Python. The application uses python2.7
- Install Python2.7 : https://www.python.org/downloads/
- Install pip for python
sudo apt-get update
sudo apt-get install python-pip
- Install Virtual Environment
sudo pip install virtualenv
- Make directory
mkdir SMSeveryHour
cd SMSeveryHour
virtualenv venv
- Activate the Virtual Environment
source venv/bin/activate
- Clone the GitHub repo
git clone https://github.com/karantatiwala/SMSeveryHour.git
cd SMSeveryHour
- Install the requirements for the application
pip install django==1.11
pip install -r requirements.txt
- Migrate the SQLite Database for the application
python manage.py makemigrations
python manage.py migrate
- Running the Server
python manage.py runserver
Open localhost on your browser127.0.0.1:8000
To stop SMS at any point, close your terminal byCtrl + c