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.

68 lines
1.7 KiB

5 years ago
5 years ago
5 years ago
5 years ago
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. Before starting the setup, make sure Python 3 and PostgreSQL is installed on your system.
  7. <!--- installation steps {{{ -->
  8. ### Installing
  9. 1. Use the pip tool to install `virtualenv`. See this [guide](http://docs.python-guide.org/en/latest/dev/virtualenvs/) for further details.
  10. ```
  11. pip install --user pipenv
  12. ```
  13. 2. Create a virtual environment.
  14. ```
  15. python3 -m venv /path/to/new/virtual/environment
  16. ```
  17. 3. `cd` into the directory you just created a virtual environment in,
  18. and clone the GitHub repo:
  19. ```
  20. cd /path/to/new/virtual/environment
  21. git clone https://github.com/Kevin-Mok/spotify-lib-vis
  22. ```
  23. 4. Activate the virtual environment from the command line.
  24. ```
  25. # activate.fish if you're using fish shell
  26. source bin/activate
  27. ```
  28. 5. `cd` into the repository root directory and install all
  29. dependencies using `pip`.
  30. ```
  31. cd spotify-lib-vis
  32. pip install -r requirements.txt
  33. ```
  34. 6. Run `reset_db.sh` to create the database and start the server.
  35. ```
  36. ./scripts/reset_db.sh
  37. ```
  38. <!--- }}} installation steps -->
  39. ## Built With
  40. * [Django](https://www.djangoproject.com/)
  41. * [Spotify Web API](https://github.com/spotify/web-api)
  42. * [pip packages used](requirements.txt)
  43. ## Authors
  44. * [Kevin Mok](https://github.com/Kevin-Mok)
  45. * [Chris Shyi](https://github.com/chrisshyi)
  46. ## License
  47. This project is licensed under the GPL License - see the [LICENSE.md](LICENSE.md) file for details.