Python Web App integrated using Flask that interfaces with the Spotify API to merge different user's playlists while maintaining song diversity and balance
GNU Affero General Public License v3.0
3
stars
0
forks
source link
Squadify
PARTY TIME!!!
Running In Development
Run MongoDB with a database called squadify
containing two collections named squads
and tokens
poetry install --no-dev
In css
, run npm install && npm run dev
In the Spotify dashboard, get the client ID and secret, and set the redirect URI to http://127.0.0.1:5000
Set the environment variables SPOTIPY_CLIENT_ID
, SPOTIPY_CLIENT_SECRET
, and SPOTIPY_REDIRECT_URI="http://127.0.0.1:5000"
Enter the virtualenv. For instance poetry shell
.
FLASK_ENV=development FLASK_APP=squadify flask run
Running In Production
Run MongoDB with a database called squadify
containing two collections named squads
and tokens
poetry install
In css
, run npm install && npm run prod
In the Spotify dashboard, get the client ID and secret, and set the redirect URI
Set the environment variables SPOTIPY_CLIENT_ID
, SPOTIPY_CLIENT_SECRET
, and SPOTIPY_REDIRECT_URI
poetry run gunicorn squadify:app