Giter VIP home page Giter VIP logo

django-library-tutorial's Introduction

django-library-tutorial

Simple library website built using Django framework

Requirements

  • Django 1.11.7
  • Python 3.5.2
  • PostgreSQL 9.5.10

Procedure

Clone the repository first

  • After that, virtualenv/virtualwrapper needs to be configured
  • Once virtualwrapper is enabled in bashrc profile and virtualenv project has been created
    $ workon project-name 
    $ pip install -r requirements.txt
  • Setup environmental variables in project postactivate script like below.
	export DJANGO_SETTINGS_MODULE=config.settings.local
	export PYTHONPATH=$PYTHONPATH:$HOME/Project/library-project/config
	export LOCAL_SECRET_KEY='YOURSECRETKEYHERE'
	export DATABASE_PASSWORD='DBPASS'
  • Run makemigrations and then migration

  • Run locally to test it out! Recommend logging into admin console first and add users, book, and author data for experiment.


Functionality

  • Login/Logout authentication
  • User with certain user group permission allows create, edit, and delete Author data & ability to renew the date of borrowed books for all borrowers
  • Provide dynamic records of books, copies that are either available, on loan, reserved, and maintenance
  • Test functionality to check the models, views, and templates

django-library-tutorial's People

Contributors

choia 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.