Skip to content

Create a Django app that implements a catalogue of music

Notifications You must be signed in to change notification settings

kartikkaklotar/Catalogue

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Catalogue Project

Create a Django app that implements a catalogue of music.

Getting started

Set up a virtualenv

$ python3 -m venv .venv
$ source venv/bin/activate

Install dependencies

$ pip install -r requirements.txt

Create .env file for evnvironment veriable

$ vim .env
DEBUG=on
SECRET_KEY='YOUR-SECRETKEY'
SQLITE_URL='YOUR-SQLITE-LOCATION'
API_PAGE_SIZE=5

Initialize the development database

$ python manage.py makemigrations
$ python manage.py migrate
$ python manage.py loaddata initial_data

Create superuser to access django admin

$ python manage.py createsuperuser

Run the server

$ python manage.py runserver

Log into the Django admin:

admin/

Browse the REST API at:

api/v1/

Run the default test case

$ python manage.py test

About

Create a Django app that implements a catalogue of music

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages