LocalLibrary is a Django project inspired by the local library app tutorial developed by MDN Web Docs. The project features a catalogue app that allows users to manage and browse a local library's collection of books.
To use the LocalLibrary app, follow the instructions below:
- Activate the virtual environment (Windows):
python3 -m venv djangoenv
cd djangoenv/Scripts
activate- Clone the repository:
git clone https://github.com/schawanji/locallibrary.git
cd locallibrary/locallibrary- Install the required dependencies:
pip3 install -r requirements.txt- Apply database migrations:
python3 manage.py makemigrations
python3 manage.py migrate- Create a superuser:
python3 manage.py createsuperuser- Run the development server:
python3 manage.py runserver-
Access the app in your browser at http://localhost:8000.
-
Log in using the credentials you created with the
createsuperusercommand.
Feel free to explore the LocalLibrary app and manage the catalogue of books using its intuitive interface.
Note: Make sure you have Python 3.x and Django installed on your system before proceeding with the above steps.