Skip to content

GitLab

  • Menu
Projects Groups Snippets
    • Loading...
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
  • Sign in
  • Umich Django Project Template Umich Django Project Template
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 1
    • Issues 1
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 0
    • Merge requests 0
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Monitor
    • Monitor
    • Incidents
  • Packages & Registries
    • Packages & Registries
    • Package Registry
    • Container Registry
    • Infrastructure Registry
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar

Note: The default ITS GitLab runner is a shared resource and is subject to slowdowns during heavy usage.
You can run your own GitLab runner that is dedicated just to your group if you need to avoid processing delays.

  • ITS Infrastructure Network - Software
  • Umich Django Project TemplateUmich Django Project Template
  • Wiki
  • Home

Last edited by Kris Steinhoff Apr 28, 2020
Page history

Home

Umich Django Project Template

The following project provides a template for creating a Django application with University of Michigan styling and branding.

See the ITS style guide for additional details.

Bootstrap is the underlying CSS framework used.

Additional features include:

  • Deployment-friendly Dockerfile
  • Docker Compose setup for local development
  • Basic GitLab CI config

Quickstart

  • Requirement: Django installed in your current environment (pip install django)

Run django-admin startproject --template https://gitlab.umich.edu/its-inf-net-software/umich-django-project-template/-/archive/master/umich-django-project-template-master.zip --name=Dockerfile your_project_name [optional_project_directory]

This will create a project under "your_project_name" that uses umich styling by default, and is ready to be deployed and configured with OIDC for authentication.

Docker

The see the docker documentation for help with the "start_project.sh" helper script is

Authentication

This template is set up for Shibboleth/OIDC configuration. See this page for more details.

Deployment

See Deployment Notes for details.

Clone repository
  • Deployment Notes
  • Home
  • OIDC Authentication
  • docker