pip install -r requirements.txtTo start the web server you need to run the following sequence of commands.
First cd into the music_controller folder
cd music_controllerNext run the django web server.
python manage.py runserverFirst cd into the frontend folder.
cd frontendNext install all dependicies.
npm iRun the production compile script
npm run buildor for development:
npm run devI have not uploaded my credentials.py for obvious reasons. So create a new file inside spotify folder with the name credentials.py, and inside of it write 3 variables
- CLIENT_ID
- CLIENT_SECRET
- REDIRECT_URI
All these values you will get when you create a developer account on spotify and start a new app or use an existing one and also try to use the same variable name, so that you don't have to worry about changing the name in other files as well