The library management is a school assignment and is meant to manage books.
- Pagination
- Sorting
- Filtering
- Borrow Books
- Delete Borrowed Book Entries
- Authentication
- Python
- Django
- Node.js and NPM
- Tailwind CSS
- DaisyUI
Create .venv in root directory
py -m venv .venvStart .venv with the command for your os and terminal e.g. Linux with zsh
source .venv/bin/activateInstall requirements
pip install -r requirements.txtApply database migrations
py ./manage.py migrateApply fixtures
py ./fixtures.pyRun django development server
py ./manage.py runserverCreate superuser
py ./manage.py createsuperuserβ THIS IS ONLY REQUIRED, IF YOU NEED TO UPDATE TAILWIND CLASSES.
If you use new tailwind classes, that have been never used before, you will need the preprocessor, else, you won't see the newly added classes.
You will also need a node.js environment to execute the preprocessor
Navigate to jstoolchain
cd jstoolchainInstall dependencies
npm iRun tailwind watch
npm run tailwind:watchIf you changed some styling, please build the new style file and commit it to the repo
npm run tailwind:build




