Skip to content

jeffwright13/apg_flask

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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 jeff.washcloth@gmail.com

About

Flask wrapper around the [audio program generator](https://github.com/jeffwright13/audio_program_generator) module

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages