GithubHelp home page GithubHelp logo

mp3player's Introduction

MP3 PLAYER

This repository has been created to store the MP3 Player project source code in terms of Python-Django course organized by Regex Software Solutions.

Installation

Make sure you have Python installed on your machine. (version 3.7.0 or higher)

Version check on Windows:

python --version

Clone the project to your local.

git clone https://github.com/altughan09/mp3player.git

Inside the root project folder, you must create a virtual environment.
What is virtual environment?

On Windows:

python -m venv ./venv

Once virtual environment is ready, enter the following command to activate it:

./venv/Scripts/activate

Next install all the required packages using pip according to the requirements.txt file.

What is the python requirements.txt?

pip install -r requirements.txt

https://blog.usejournal.com/why-and-how-to-make-a-requirements-txt-f329c685181e

Create a file named .env in the root. The reason we use .env is to hide important keys from public.
Your .env file should include the following fields:

SECRET_KEY=''
NAME=''
USER=''
PASSWORD=''
HOST=''
PORT=''

We never push this file to github!

For SECRET_KEY area you can use DJANGO SECRET KEY GENERATOR Other fields are for PostgreSQL db credentials. Install PostgreSQL to your machine here. Create a db for this project and enter its credentials in your .env file.

Once all the steps are done, check whether app is running locally by using the following command:

python manage.py runserver

If running properly with no error, it means installation was successful.

Contribution

We should not touch the master(main) branch at all. We have a rc (release candidate) branch and 2 sub-branches.

For frontend tasks you should work on the dev-frontend branch. (You should checkout to this branch name in Visual Studio Code)

For backend tasks you should work on the dev-backend branch. (You should checkout to this branch name in Visual Studio Code)

Once you are ready to push your work, rise a pull request to the rc branch.

mp3player's People

Contributors

altughan09 avatar

Watchers

James Cloos avatar  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.