student-management-system
student-management-system copied to clipboard
A student management system built using Django 4, HTML 5, CSS 3, and Bootstrap 5 with a Bootswatch theme.
Student Management System
This is a student management system built using Django 4, HTML 5, CSS 3, and Bootstrap 5 with a Bootswatch theme.

Table of Contents
- Prerequisites
- Installation
- Run the application
- Run the tests
- View the application
- Copyright and License
Prerequisites
Install the following prerequisites:
- Python 3.8-3.11
This project uses Django v4.2.4. For Django to work, you must install a correct version of Python on your machine. More information here. - Visual Studio Code
Installation
1. Create a virtual environment
From the root directory, run:
python -m venv venv
2. Activate the virtual environment
From the root directory, run:
On macOS:
source venv/bin/activate
On Windows:
venv\scripts\activate
3. Install required dependencies
From the root directory, run:
pip install -r requirements.txt
4. Run migrations
From the root directory, run:
python manage.py makemigrations
python manage.py migrate
5. Create an admin user to access the Django Admin interface
From the root directory, run:
python manage.py createsuperuser
When prompted, enter a username, email, and password.
Run the application
From the root directory, run:
python manage.py runserver
Run the tests
From the root directory, run:
python manage.py test --pattern="tests.py"
View the application
Go to http://127.0.0.1:8000/ to view the application.
Copyright and License
Copyright © 2022 Bob's Programming Academy. Code released under the MIT license.