Read Django CMS User Guide for CMS user instructions.
- Create a New Project
- Create a New Build Action
- Remove Excess Content
- Customize Project
- Create a Custom App
- Change All Projects
- Clone example_cms.
- Name the directory as WMA Infrastructure team defines e.g.
demdata_cms
. - Remove Excess Content
- Customize Project
- Create a New Build Action
- Perform instructions in other pertinent sections.
- Clone
.github/workflows/example-cms.yml
. - Rename the file: replace
example
with the code name of the CMS to build. - Edit the content: replace
example
with the code name of the CMS to build. - Edit the content: replace
Example
with the human name of the CMS to build. - Save this to the
main
branch. (You may be required to create a PR to do so.)
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 |
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
.
- Update
custom_app_settings.py
with pertinent content from TACC/Core-CMS:/taccsite_cms/custom_app_settings.example.py
. - Update
urls_custom.py
with pertinent content from TACC/Core-CMS:/taccsite_cms/urls_custom.example.py
.
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
-
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. ↩
-
There may be styles from Core Styles that are not documented in TACC UI Patterns. ↩