Graphs and tables for your Spotify account.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 
Kevin Mok d8e4b0f6dd
Improve installation instructions
5 years ago
api Fix duplicate key bug, set root url to login 6 years ago
graphs Artist graph improvements 6 years ago
login Run on server, update dependencies 5 years ago
scripts Improve installation instructions 5 years ago
spotifyvis Run on server, update dependencies 5 years ago
static Run on server, update dependencies 5 years ago
.gitignore Run on server, update dependencies 5 years ago
LICENSE.md Added GPL license and MVP file 7 years ago
README.md Improve installation instructions 5 years ago
manage.py Split spotifyvis code into different apps (#47) 7 years ago
requirements.txt Run on server, update dependencies 5 years ago

README.md

Spotify Data Visualizer

See charts of the artists, genres and features of tracks in your library. Also keep track of your listening history.

Getting Started

These instructions will get you a copy of the project up and running on your local machine for development and testing purposes. See deployment for notes on how to deploy the project on a live system.

Prerequisites

  • Python 3
    • pip
  • PostgreSQL

On Debian/Ubunu

sudo apt-get install python3-pip
sudo apt-get install postgresql
sudo apt-get install python-psycopg2
sudo apt-get install libpq-dev
pip install --user virtualenv

Installing

  1. Create a virtual environment.

    virtualenv /path/to/new/virtual/environment
    
  2. cd into the directory you just created a virtual environment in, and clone the GitHub repo:

    cd /path/to/new/virtual/environment
    git clone https://github.com/Kevin-Mok/spotify-lib-vis
    
  3. Activate the virtual environment from the command line.

    # activate.fish if you're using fish shell
    source bin/activate
    
  4. cd into the repository root directory and install all dependencies using pip.

    cd spotify-lib-vis
    pip3 install -r requirements.txt
    
  5. Run reset_db.sh to create the database and start the server.

    ./scripts/reset_db.sh
    

Built With

Authors

License

This project is licensed under the GPL License - see the LICENSE.md file for details.