TBD
TBD
-
cdinto top level folder of project -
Create and activate a virtual environment:
$ python3 -m venv venv
$ source venv/bin/activate
(venv) $ # --> Virtual environment is active- Install dependencies:
(venv) $ pip install -r requirements.txt-
Make sure the Python Interpreter is set up correctly:
- from within VS Code by selecting SHIFT + CMD + P -> 'Python: Select Interpreter' -> Select the interpreter path that includes ('venv': venv).
- CL...?
-
Create a
.envfile in your root directory containing the following, which can be set up and obtained from here (will have to create your own app first): https://developer.spotify.com/dashboard:
SPOTIPY_CLIENT_ID='your-spotify-client-id'
SPOTIPY_CLIENT_SECRET='your-spotify-client-secret'
SPOTIPY_REDIRECT_URI='your-spotify-reditect-uri'- Run the following command to execute program:
(venv) $ python -m elpy_cli- Run all tests:
(venv) $ pytest