Repository for the Data Science API in Master Sound project.
- Create a virtual environment with python module
venv
:
$ python3 -m venv venv
- Add the following lines at the bottom of the
activate
file insidevenv/bin/
:
export FLASK_ENV="development"
export FLASK_APP="entrypoint:app"
export APP_SETTINGS_MODULE="config.default"
- Activate the virtual environment:
$ source venv/bin/activate
- Install the required libraries from the
requirements.txt
file with pip:
$ pip install -r requirements.txt
- Start flask server running:
$ flask run