Skip to content

Two Factor Authentication using SMS using Africa's Talking SMS API

Notifications You must be signed in to change notification settings

bmwasaru/sms2fa

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

23 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

sms2fa

Two Factor Authentication using SMS, initially a project by Twilio Dev modified to use Africa's Taking API

Local Development

This project is built using Flask web framework.

  1. First clone this repository and cd into it.

    $ git clone https://github.com/bmwasaru/sms2fa.git
    $ cd sms2fa
  2. Create a new virtual environment.

  3. Install the dependencies.

    pip install -r requirements.txt
  4. Copy the sample configuration file and edit it to match your configuration.

    $ cp .env.example .env

    Run source .env to export the environment variables.

  5. Run the migrations.

    Our app uses SQLite, so you probably will not need to install additional software.

    python manage.py db upgrade
  6. Make sure the tests succeed.

    $ coverage run manage.py test
  7. Start the server.

    python manage.py runserver
  8. Check it out at: http://localhost:5000/.

About

Two Factor Authentication using SMS using Africa's Talking SMS API

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published