This combined scheduling and charting web application is a group project for CIS552 Database Design at UMass Dartmouth, Summer 2024. It offers streamlined scheduling, record keeping, and flexibile charting.
- Install PostgreSQL (setup your default user and password)
- enter
pip install -r requirements.txt
- Enter Python shell. Generate django secret key:
from django.core.management.utils import get_random_secret_key
# copy output
print(get_random_secret_key())
- save DATABASE_PASSWORD and DJANGO_SECRET_KEY as environment variables in your OS
- In
settings.py
, underDATABASES
change 'USER' from 'joe' to the username you established in step 1. - In your PostgreSQL installation run query
CREATE DATABASE clinic;
as that same user; - enter
python manage.py migrate
- Run seeds and create super user for admin dashboard:
# consolidates several commands into one
python manage.py seed_database
- enter
python manage.py runserver
- If you installed pgAdmin4 web, after creating server group, view clinic database at http://127.0.0.1/pgAdmin4
- Scheduling
- Record Keeping
- Charting