- Install Docker
- Follow steps in the "Run development server" section below.
cd student_explorerdocker-compose down; docker-compose build; docker-compose up -d- Browse to http://localhost:2082/
- Login as individual advisors using their lower-case first name as username/password (e.g.: burl/burl)
- Student with useful data: http://localhost:2082/students/grace/
For the Django Debug Toolbar to work in development, please add the following in student_explorer > local > settings_override.py
INSTALLED_APPS += ('debug_toolbar',)MIDDLEWARE_CLASSES += ('debug_toolbar.middleware.DebugToolbarMiddleware',)DEBUG_TOOLBAR_PATCH_SETTINGS = FalseINTERNAL_IPS = ['10.0.2.2']
By default manage.py looks for the student_explorer.local.settings_override module. This file is created manually as documented in the setup steps above.
By default wsgi.py (which is used by start.sh) looks for the student_explorer.settings module. This file is versioned as part of this repository.
This behavior can be changed for both manage.py and wsgi.py by setting the DJANGO_SETTINGS_MODULE environment variable.