This repository contains the code and resources for the Philadelphia Pointing Span Test (PPST) application, developed as part of our Senior Project. Follow the steps below to ensure proper installation and functionality.
Clone the repository to your local machine:
git clone https://github.com/defulv86/Team-Senior-Project.gitNavigate to the project directory:
cd Team-Senior-Project/ppstCreate and activate a virtual environment for dependency management.
python3 -m venv venv
source venv/bin/activatepy -m venv venv
source venv\Scripts\activateInstall Django and other dependencies using the requirements.txt file:
pip install -r requirements.txt- Windows:
py migrate_regular_fixture.py
- macOS/Linux:
python manage.py makemigrations python manage.py migrate python manage.py shell < regular_fixture.py
- Windows:
py migrate_fake_test_data_fixture.py
- macOS/Linux:
python manage.py makemigrations python manage.py migrate python manage.py shell < fake_data_fixture.py
To ensure proper functioning of the admin dashboard, make the following change:
- Open the file:
venv/Lib/django/contrib/admin/templates/admin/base.html - Locate line 48 and replace the line with:
Back to Admin Dashboard /
- Save the file.
Start the Django development server:
py manage.py runserverpython manage.py runserverVisit the application in your browser:
http://127.0.0.1:8000/
- Ensure that your virtual environment is activated before running the project.
- Make sure to select the correct fixture (real or fake data) based on your testing needs.