GithubHelp home page GithubHelp logo

padamupreti / grantha-lms Goto Github PK

View Code? Open in Web Editor NEW
2.0 1.0 0.0 602 KB

Library Management System built with Django

License: BSD 3-Clause "New" or "Revised" License

Python 45.74% HTML 53.04% CSS 1.08% JavaScript 0.14%
django python python3

grantha-lms's Introduction

Grantha LMS

Logo

Library Management System built with Django. Uses Bootstrap and Font Awesome Icons.

Requirements

Setup

First clone the repository. Then, to install dependencies, navigate to project root in the terminal and run:

pip install -r requirements.txt

Although not mandatory, a .env file can be created at project root to set various credentials. An example is given below.

# Specify whether to use hosts that can serve the application
# besides localhost
ADDED_HOSTS=True

# HOSTS is necessary and used only when ADDED_HOSTS is set to True
# HOSTS=first.com, (format for single host)
HOSTS=first.com,second.com # (format for multiple hosts)

# Uses PostgreSQL if True, otherwise uses SQLite
USE_POSTGRES=False

# Database credentials are necessary and used only when
# USE_POSTGRES is set to True
DB_NAME=dbname
DB_USERNAME=admin
DB_PASSWORD=super_secure_password
DB_HOST=db_host
DB_PORT=5432

Create database migrations and perform migration:

python manage.py makemigrations
python manage.py migrate

Running the development server

After successful completion of setup steps above, the development server can be run with:

python manage.py runserver 0:8000

If above command does not produce errors, localhost:8000 can be visited to view the running application.

grantha-lms's People

Contributors

padamupreti avatar

Stargazers

aditya malla thakuri avatar  avatar

Watchers

 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.