Logo Lanfrica

bmwasaru/sms2fa

Domain:

digital infrastructure

Record type:

software
Creator:
bmw
Host:
Two Factor Authentication using SMS using Africa's Talking SMS API # 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. ```bash $ git clone github.com $ cd sms2fa ``` 1. Create a new virtual environment. - If using vanilla virtualenv: ```bash virtualenv venv source venv/bin/activate ``` - If using virtualenvwrapper: ```bash mkvirtualenv automated-survey ``` 1. Install the dependencies. ```bash pip install -r requirements.txt ``` 1. Copy the sample configuration file and edit it to match your configuration. ```bash $ cp .env.example .env ``` Run `source .env` to export the environment variables. 1. Run the migrations. Our app uses SQLite, so you probably will not need to install additional software. ```bash python manage.py db upgrade ``` 1. Make sure the tests succeed. ```bash $ coverage run manage.py test ``` 1. Start the server. ```bash python manage.py runserver ``` 1. Check it out at: localhost.