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.

72 lines
1.8 KiB

5 years ago
5 years ago
5 years ago
5 years ago
  1. # Spotify Data Visualizer
  2. See charts of the artists, genres and features of tracks in your library. Also keep track of your listening history.
  3. ## Getting Started
  4. 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.
  5. ### Prerequisites
  6. - Python 3
  7. - `pip`
  8. - PostgreSQL
  9. #### On Debian/Ubunu
  10. ``` shell
  11. sudo apt-get install python3-pip
  12. sudo apt-get install postgresql
  13. sudo apt-get install python-psycopg2
  14. sudo apt-get install libpq-dev
  15. pip install --user virtualenv
  16. ```
  17. <!--- installation steps {{{ -->
  18. ### Installing
  19. 1. Create a virtual environment.
  20. ``` shell
  21. virtualenv /path/to/new/virtual/environment
  22. ```
  23. 1. `cd` into the directory you just created a virtual environment in,
  24. and clone the GitHub repo:
  25. ``` shell
  26. cd /path/to/new/virtual/environment
  27. git clone https://github.com/Kevin-Mok/spotify-lib-vis
  28. ```
  29. 1. Activate the virtual environment from the command line.
  30. ``` shell
  31. # activate.fish if you're using fish shell
  32. source bin/activate
  33. ```
  34. 1. `cd` into the repository root directory and install all dependencies using `pip`.
  35. ``` shell
  36. cd spotify-lib-vis
  37. pip3 install -r requirements.txt
  38. ```
  39. 1. Run `reset_db.sh` to create the database and start the server.
  40. ``` shell
  41. ./scripts/reset_db.sh
  42. ```
  43. <!--- }}} installation steps -->
  44. ## Built With
  45. * [Django](https://www.djangoproject.com/)
  46. * [Spotify Web API](https://github.com/spotify/web-api)
  47. * [pip packages used](requirements.txt)
  48. ## Authors
  49. * [Kevin Mok](https://github.com/Kevin-Mok)
  50. * [Chris Shyi](https://github.com/chrisshyi)
  51. ## License
  52. This project is licensed under the GPL License - see the [LICENSE.md](LICENSE.md) file for details.