Skip to content

Latest commit

 

History

History
28 lines (17 loc) · 652 Bytes

File metadata and controls

28 lines (17 loc) · 652 Bytes

MasterSoundDataScience

Repository for the Data Science API in Master Sound project.

Installing on UNIX systems

  1. Create a virtual environment with python module venv:

$ python3 -m venv venv

  1. Add the following lines at the bottom of the activate file inside venv/bin/:
export FLASK_ENV="development"
export FLASK_APP="entrypoint:app"
export APP_SETTINGS_MODULE="config.default"
  1. Activate the virtual environment:

$ source venv/bin/activate

  1. Install the required libraries from the requirements.txt file with pip:

$ pip install -r requirements.txt

  1. Start flask server running:

$ flask run