Skip to content

Latest commit

 

History

History
82 lines (57 loc) · 3.42 KB

develop-project.md

File metadata and controls

82 lines (57 loc) · 3.42 KB

Develop Project

Read Django CMS User Guide for CMS user instructions.

Table of Contents

Create a New Project

  1. Clone example_cms.
  2. Name the directory as WMA Infrastructure team defines e.g. demdata_cms.
  3. Remove Excess Content
  4. Customize Project
  5. Create a New Build Action
  6. Perform instructions in other pertinent sections.

Create a New Build Action

  1. Clone .github/workflows/example-cms.yml.
  2. Rename the file: replace example with the code name of the CMS to build.
  3. Edit the content: replace example with the code name of the CMS to build.
  4. Edit the content: replace Example with the human name of the CMS to build.
  5. Save this to the main branch. (You may be required to create a PR to do so.)

Remove Excess Content

Note Core CMS supports standard TACC apps, URLs, and static asset directories. Consider its capabilities before creating something new.

If Project Does Not Need Then Delete
additional apps the directory apps/
the COPY /src/apps /code/taccsite_cms/apps in Dockerfile
URLs for custom apps urls_custom.py
custom code custom_app_settings.py

Customize Project

Purpose File to Update
Test /custom_project_dir/src/taccsite_cms/settings_custom.py
Commit TACC/Core-Portal-Deployments:/project_dir/camino/settings_custom.py

To know what settings are available, see TACC/Core-CMS:/taccsite_cms/settings.py.

The settings usually edited are PORTAL_LOGO and ..._BRANDING.

Create a Custom App

Change All Projects

If there is a change that should be made in all CMS projects, consider whether it can be done in a more appropriate repository.

Type of Change Repository
CMS feature / default setting Core CMS
styles specific to CMS1 Core CMS
TACC UI Patterns 2 Core Styles
Core Portal

Footnotes

  1. These are not always obviously distinct from Core Styles. Examples may be the News plugin, the Image Gallery, forms, and any "Core CMS" patterns in TACC UI Patterns.

  2. There may be styles from Core Styles that are not documented in TACC UI Patterns.