Giter VIP home page Giter VIP logo

spotifly-web-server's Introduction

Spotifly

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.

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

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

Installing

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

Running the tests

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.

Deployment

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.

Built With

Contributing

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

Authors

License

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

spotifly-web-server's People

Contributors

javigoo avatar gabygarcia98 avatar jorgics avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.