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.6 KiB

6 years ago
6 years ago
6 years ago
6 years ago
6 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, and clone the GitHub repo:
  18. ```
  19. git clone https://github.com/Kevin-Mok/spotify-lib-vis
  20. ```
  21. 4. Activate the virtual environment from the command line.
  22. ```
  23. source bin/activate
  24. ```
  25. 5. `cd` into the repository root directory and install all dependencies using `pip`.
  26. ```
  27. pip install -r requirements.txt
  28. ```
  29. 6. Run `reset_db.sh` to create the database and start the server.
  30. ```
  31. cd src && ./reset_db.sh
  32. ```
  33. <!--- }}} installation steps -->
  34. ## Built With
  35. * [Django](https://www.djangoproject.com/)
  36. * [Spotify Web API](https://github.com/spotify/web-api)
  37. * [pip packages used](requirements.txt)
  38. ## Authors
  39. * [Kevin Mok](https://github.com/Kevin-Mok)
  40. * [Chris Shyi](https://github.com/chrisshyi)
  41. ## License
  42. This project is licensed under the GPL License - see the [LICENSE.md](LICENSE.md) file for details.