This is a Django-based course registration application.
- Python 3.7
- PostgreSQL
- pipenv
git clone https://github.com/Halasalhab/django-course-registration
cd django-course-registration
- pip install pipenv
- pipenv install
- pipenv shell
- CREATE DATABASE courseRegDB;
Update the DATABASES setting in settings.py:
DATABASES = {
'default': {
'ENGINE': 'django.db.backends.postgresql',
'NAME': 'courseRegDB',
'USER': 'postgres',
'PASSWORD': 'pgAdmin', # Use your PostgreSQL password here
'HOST': 'localhost',
'PORT': '5432',
}
}
Add a .env file in the root directory and include your Django secret key:
SECRET_KEY=your_secret_key
Apply database migrations:
python manage.py migrate
Start the Django development server:
python manage.py runserver
Open a web browser and go to http://127.0.0.1:8000 to access your Django application.# django-course-registration