The Labs Platform is the back-end interface to the ecosystem that facilitates the organization's:
- Accounts Engine
- Cross-Product Resources
- Organizational Information
- Configure environment variables (e.g.
.env
) containing:
DATABASE_URL=mysql://USER:PASSWORD@HOST:PORT/NAME
SECRET_KEY=secret
DJANGO_SETTINGS_MODULE=Platform.settings.production
SENTRY_URL=https://pub@sentry.example.com/product
- Run using docker:
docker run -d pennlabs/platform
Routes are defined in /pennlabs/urls.py
and subsequent app folders in the form of */urls.py
. Account/authorization related scripts are located in accounts/
and Penn Labs related scripts are located in org/
.
Documentation about individual endpoints is available through the documentation/
route when the Django app is running.