Audio widget for Ad-Auris customers. This customized solution is full stack with key data analytics.
Use the package manager pip to install requirements.txt.
Follow instructions dependending on what hosting service, python version, and etc.
Heroku and Python 3.8 recommended.
Instructions for running the app locally and in production
Follow instructions dependending on what hosting service, python version, and etc.
Heroku and Python 3.8 recommended. Ensure that app.debug = False for production and app.debug = True during local development
app.debug = True
Can delete the bottom 3 lines here for local development
from waitress import serve
port = int(os.environ.get('PORT')
waitress.serve(app, port=port)
Use this command to run app locally:
*flask run*
For stress testing update locustfile.py as needed.
In one terminal run "flask run" with multithreading turned on
While the flask is running, in another terminal enter "locust"
Then go to "localhost:8089" and enter the swarming parameters as needed.
Database helper:
https://gist.github.com/mayukh18/2223bc8fc152631205abd7cbf1efdd41/
Audio Player
Backend that serves the necessary audio files
Google Tag Manager and Google Analytics Integration (Outside of this package)
Pull requests are welcome by the Ad-Auris Dev Team. For major changes, please open an issue first to discuss what you would like to change.
Please make sure to update tests as appropriate.