Skip to content

Simple POC. You call a number and get an MP3 back. Requires Twlio. Heroku strongly recommended.

Notifications You must be signed in to change notification settings

wbur/call-for-audio

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

POC for Twilio

Installation

  • Clone this repo git clone git@github.com:wbur/call-for-audio.git
  • Get into the new dir: cd call-for-audio
  • Set up a venv (preferably ~python 3.8) python3 -m venv venv
  • Activate venv: . venv/bin/activate
  • Install via requirements: pip install -r requirements.txt
  • Start the server: python app.py
  • API should be live at http://127.0.0.1:5000/

Add project / deploy to Heroku

  • Make sure you have a Heroku account
  • Create a new Heroku project with
  • Get into the new (local) dir: cd call-for-audio
  • Log in to Heroku: heroku login -i
  • Add remote: heroku git:remote -a <HEROKU PROJECT NAME>
  • Push to Heroku: git push heroku master
  • More info at: https://stackabuse.com/deploying-a-flask-application-to-heroku/

Connecting to Twilio

About

Simple POC. You call a number and get an MP3 back. Requires Twlio. Heroku strongly recommended.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages