- git installed, can be downloaded from https://git-scm.com/downloads
- python installed with pip configured, can be downloaded and installed from https://www.python.org/downloads/
- While installing python remember to tick the checkbox- ADD python {version} to PATH
- django module of python installed, to install type the following in terminal- pip install django
- dotenv module of python installed, to install type the following in terminal- pip install python-dotenv
- First clone this repo on your computer
- Open terminal and go inside the LibManage Directory in the cloned repo, which has manage.py file
- then execute the following command: python LibManage/key_generator.py
- then to start the server, execute the following code: python manage.py runserver
- In your terminal, you will get a message - "Starting development server at {URL}"
- open that URL in the browser
Some acounts are already created in the database for testing purposes, the credentials for which are given below:
- Account 1 - Access Level: Admin, username:admin, password:admin
- Account 2 - Access Level: Librarian, username:user1, password:pass1
- Account 3 - Access Level: Librarian, username:user2, password:pass2
- Account 4 - Access Level: User, username:user3, password:pass3
- Account 5 - Access Level: User, username:user4, password:pass4
- Account 6 - Access Level: User, username:user5, password:pass5
- Bootstrap has been used to give basic styling to the website, so while running this locally on your computer on the development server, stay connected to internet to see the actual website.
- The available field in database is redundant, it is replaced with quantity at most places, but not all so it is not yet deleted from Book model.