Flask audio service
Audio service build with python and flask.
To run localy follow this steps:
- Fill in .flaskenv file.
- Create and setup firebase storage.
- Download and setup elasticsearch.
Create and activate virtual environment:
python -m venv [YOUR_ENV_NAME]
[YOUR_ENV_NAME]/Scripts/activate
Install requirements.txt file:
pip install -r requirements.txt
Run this commands:
flask db upgrade # Apply database migrations
flask insert-roles # Insert user roles to database
flask create-indx Song # Create elasticsearch index for Song model
flask translate compile # Compile all application languages
Now you can run this application with following command:
flask run