An open API service indexing awesome lists of open source software.

https://github.com/greyli/flask-twilio-starter

Starter project for Twilio with Python and Flask
https://github.com/greyli/flask-twilio-starter

Last synced: about 2 months ago
JSON representation

Starter project for Twilio with Python and Flask

Awesome Lists containing this project

README

        

# Flask Twilio Starter

This is a simple Twilio starter project with Flask and Twilio Python SDK.

## Installation

Clone the repo and build the environment:
```
$ git clone https://github.com/greyli/flask-twilio-starter
$ cd flask-twilio-starter
$ python3 -m venv venv # use python -m venv venv" on Windows
$ . venv/bin/activate # use "venv\Scripts\activate" on Windows
(venv) $ pip install -r requirements.txt
```

Rename the `.env.example` to `.env`, fill the variables in it (You will need to register a free [Twilio account](http://www.twilio.com/referral/w6qBg0)).

Run the application with:
```
(venv) $ flask run
```

Then open http://localhost:5000 to test.