The topic of this project is about music. We will use the Spotify API to get information about the artists, to make a TOP 10 tracks and to create customized playlists.
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.
What things you need to install the software and how to install them
- Install python3
apt-get update
apt-get install python3
- Install ChromeDriver
apt-get install chromedriver
A step by step series of examples that tell you how to get a development env running
Clone the repository and change to web-project directory
git clone https://github.com/Javigoo/web-project.git
cd web-project/
Activate the virtual environment using:
python3 -m venv venv
source venv/bin/activate
“requirements.txt” is a file containing a list of items to be installed using pip install like so:
pip3 install -r requirements.txt
Apply a migration to tell Django what changes need to be made to the database
python3 manage.py migrate
Check if the install worked successfully running it
python3 manage.py runserver
We can deactivate the virtual environment typing:
deactivate
To run the automated tests for this system use:
python3 manage.py test apps
To run E2E test use:
behave
The tests are also performed automatically with each commit.
Spotifly is deployed automatically on the master branch. It is available on Heroku, you can check it here.
To review the deployment settings in Heroku and Spotify for Developers contact us via email.
Make sure you have the latest version to avoid possible overwrites
git pull
Make sure everything works perfectly, for this you can run the server and see that everything is still in place
python3 manage.py runserver
Finally make the pull request
- Javier Roig Gregorio - Javigoo
- Jorge Nueno Abril - Jorgics
- Gabriel Garcia Scoles - Gabygarcia98
- Jose Miguel Avellana Lopez - Jal04
- Víctor Alcobé Sorolla - Valcobe
This project is licensed under the MIT License - see the LICENSE.md file for details