-
Notifications
You must be signed in to change notification settings - Fork 4
Developer: Set Up
pip install all of requirements.txt
. Project is built with Python 3.8.
You can run "pip install -r requirements.txt" on the top level of the repo.
Make sure local database is setup under django_projects/settings.py
under var DATABASES
(Verify localhost, port, username password is correct to the DB you want to work with)
Open UWPathWebsite on cmd and run the following commands:
python manage.py makemigrations
python manage.py migrate
python manage.py runserver
Setup env variable for under variable name UWPath_Email_Account
and UWPath_Email_Password
to any email and password combinations you desire.
Please initialize Django Server under add configuration with the following settings:
Enviorment Variables: PYTHONUNBUFFERED=1;DJANGO_SETTINGS_MODULE=django_projects.settings
Check Run Browser for dev: http://127.0.0.1:8000/
Python Interpreter: Project Default (Python)