Font-end :
-
Download all the files from :- https://github.com/introvertishan/angularjs_mplayer
-
Put the downloaded file under a server eg: Apache
-
Browse to the index.html page.
You must see a login page.
Back-end:
-
Download the files from : https://github.com/introvertishan/mplayer, skip 'media/songs' folder as you will be adding the songs on your own.
-
Create a DB in your PostgreSQL DB.
-
Enter the name of the DB table and username and password of PostgreSQL in setting.py of the project.
-
Make sure django-rest-framework and psycopg is installed else install it using pip.
-
In the root directory, create a folder name “media” and in the “media” folder create another sub-folder named “songs”.
-
Make migrations and migrate.
-
Create super user.
-
Run the server.
-
Login to Django-admin Dashboard and add songs by clicking on All songs under API.
-
To create a new user click on Users under AUTHENTICATION AND AUTHORIZATION
-
Refresh your index.html page and then login to see the list of songs.