Skip to content

Latest commit

 

History

History
42 lines (35 loc) · 1.37 KB

README.md

File metadata and controls

42 lines (35 loc) · 1.37 KB

apg_flask

Flask wrapper around the audio program generator module

Current status

beta+ ... meaning, it runs out of the box:

Prerequisites

  • Some relatively recent version of Python (3.7+)
  • FFMPEG with at least the ability to read mp3s and wavs, and write mp3s

Prep for execution

  • clone the repo
  • cd into it
  • create a virtual environment
  • pip install -r requirements.txt
  • vi .env
  • set your environment variables:
    • DEBUG=[True/False]

Run locally (localhost)

  • cd into top directory of repo
  • flask run
  • point browser at http://127.0.0.1:5000/
  • fill out the form, submit, and wait for browser to serve up your freshly mixed mp3 file :-)

Run on Heroku

  • create new app on Heroku
  • install ffmpeg buildpack as above
  • point your app at the apg_flask repo on GitHub
  • deploy
  • point browser at your app's url
  • fill out the form, submit, and wait for browser to serve up your freshly mixed mp3 file :-)

Author:

Jeff Wright [email protected]