Git Product home page Git Product logo

smseveryhour's Introduction

SMSeveryHour

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

To run this app locally

  1. Install Python2.7 : https://www.python.org/downloads/
  2. Install pip for python
    sudo apt-get update
    sudo apt-get install python-pip
  3. Install Virtual Environment
    sudo pip install virtualenv
  4. Make directory
    mkdir SMSeveryHour
    cd SMSeveryHour
    virtualenv venv
  5. Activate the Virtual Environment
    source venv/bin/activate
  6. Clone the GitHub repo
    git clone https://github.com/karantatiwala/SMSeveryHour.git
    cd SMSeveryHour
  7. Install the requirements for the application
    pip install django==1.11
    pip install -r requirements.txt
  8. Migrate the SQLite Database for the application
    python manage.py makemigrations
    python manage.py migrate
  9. Running the Server
    python manage.py runserver
    Open localhost on your browser 127.0.0.1:8000
    To stop SMS at any point, close your terminal by Ctrl + c

smseveryhour's People

Contributors

karantatiwala avatar

Watchers

James Cloos avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.