/SpotiZen

Find out your Spotify top tracks and top artists

Primary LanguagePythonMIT LicenseMIT

SPOTIZEN

Find out your Spotify top tracks and top artists

INSTALLATION    |    LICENSE

Installation:

Clone the respository

$ git clone https://github.com/puravparab/SpotiZen.git

Change the working directory to Chattrr

$ cd SpotiZen

Install pipenv to your machine

$ pip install --user pipenv

Install dependencies from Pipfile

$ pipenv install

Run the virtual environment

$ pipenv shell

Create a file called .env
Update the entries in the .env file.

SECRET_KEY= <create a secret key>
DEBUG=True
DJANGO_SETTINGS_MODULE=SpotiZen.settings.dev
ALLOWED_HOSTS=localhost 127.0.0.1

<Add your Spotify API keys>
CLIENT_ID=
CLIENT_SECRET=
REDIRECT_URI=

Run the following commands

$ python manage.py migrate
$ python manage.py collectstatic

This completes the backend/server configuration.


Add a superuser to Django Admin

$ python manage.py createsuperuser

Run the server at http://127.0.0.1:8000 or http://localhost:3000

$ python manage.py runserver

LICENSE

MIT License

Copyright (c) 2022 SpotiZen

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.


Original Creator - Purav Parab