Skip to content

z-amini/sample-library

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Library Server v0.0.1

University Central Library Backend

Code style: black Code style: black Code style: black

Perquisites

Install Dependencies

Use the package manager pip to install dependencies.

pip install -r requirements.txt

Setup Database

Create an empty database and set its configuration params in library/settings.py (default is sqlite):

# Database
# https://docs.djangoproject.com/en/3.2/ref/settings/#databases

DATABASES = {
    'default': {
        'ENGINE': '?',
        'NAME': '?',
        'USER': '?',
        'PASSWORD': '?',
        ...
    }
}

Then run the following command to let django create tables for you:

python manage.py migrate

You can add sample data provided in fixtures folder of each app via:

python manage.py loaddata <filename>

Usage

Run Project

python manage.py runserver

Contributing

For each issue, fork master into a new branch and push codes there. When ready, submit a merge request for review. For major changes, please open an issue first to discuss what you would like to change.


Copyright © 2020 Zeynab Amini

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages