PARTY TIME!!!
- Run MongoDB with a database called
squadify
containing two collections namedsquads
andtokens
poetry install --no-dev
- In
css
, runnpm 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
, andSPOTIPY_REDIRECT_URI="http://127.0.0.1:5000"
- Enter the virtualenv. For instance
poetry shell
. FLASK_ENV=development FLASK_APP=squadify flask run
- Run MongoDB with a database called
squadify
containing two collections namedsquads
andtokens
poetry install
- In
css
, runnpm 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
, andSPOTIPY_REDIRECT_URI
poetry run gunicorn squadify:app