lymagics / flask-audio-sevice

A lightweight Flask audio service application.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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

Application overwiev

Index page:

User profile:

Song information:

Song lyrics:

Multilanguage pages:

  • English
  • Ukrainian
  • Russian

You can find this application here(in case i didn't turn it off):

Application

Or you can paste following link in your browser:

https://noisy-notes.herokuapp.com

About

A lightweight Flask audio service application.


Languages

Language:Python 77.4%Language:HTML 20.9%Language:CSS 1.0%Language:Mako 0.4%Language:Shell 0.3%Language:Procfile 0.1%