AI Decision System
Replayable, offline-verifiable records for AI-assisted go/no-go decisions: experiment promotions, typed model answers and human-approved actions.
The Core CMS codebase used by TACC Portals.
Translation pending
Developer toolsPython · HTMLGitHub @TACCOnlineOwner unconfirmed
Have you tried it? One tap is enough. No sign-in needed.
Loading the full README. The saved excerpt is shown below.
The base CMS code for TACC WMA Workspace Portals & Websites
• [Camino], a Docker container-based deployment scheme
• [Core Portal], the base Portal code for TACC WMA CMS Websites
• [Core Styles], the shared UI pattern code for TACC WMA CMS Websites
• [Core CMS Template], a template for creating new TACC WMA CMS projects
• [Core CMS Custom], the new solution for extensions of the [Core CMS] project
• [Core Portal Deployments], private repository that facilitates deployments of [Core Portal] images via [Camino] and JenkinsRead the full README ↗The base CMS code for TACC WMA Workspace Portals & Websites
| directory | contents |
|---|---|
apps | additional Django applications |
bin | scripts e.g. build CSS |
taccsite_cms | customize & configure Django CMS |
Important We recommend you install the Docker Desktop application. Alternatively, you may install both Docker Engine and Docker Compose.
How to set up a new local CMS instance.
Important To develop a new or existing custom CMS website for a TACC client, do not clone this repository. Instead, read Develop a Custom Project. To develop on the Core CMS (upon which our other CMS are built) continute reading.
Enter CMS project:
cd cms
(optional) To remove previous setup entirely:
make clean
Run the setup script:
make setup
You will be prompted for information.
To set the superuser password non-interactively:
DJANGO_SUPERUSER_PASSWORD=yourpass make setup
[!NOTE] If Quick Start process fails, report the error to your team, and follow these steps for now.
Configure Django Application:
Create a taccsite_cms/settings/*.py for every taccsite_cms/settings/*.example.py, e.g.
cp taccsite_cms/settings/settings_custom.example.py taccsite_cms/settings/settings_custom.py
cp taccsite_cms/settings/secrets.example.py taccsite_cms/settings/secrets.py
cp taccsite_cms/settings/settings_local.example.py taccsite_cms/settings/settings_local.py
Start Docker Containers:
make start
Note This will make the terminal window busy. To run commands after this, either open a new terminal window or run
make start ARGS="--detach"instead.
Build CSS:
docker run --rm -v "$(pwd):/code" -w /code node:20 sh -c "npm ci && npm run build"
Note If you will develop thus rebuild stylesheets often, use a local Node installation and run
npm cionce, thennpm run buildas needed.
Prepare Django Application:
docker exec -it core_cms /bin/bash
# This opens a command prompt within the container
(Run these commands within the container.)
python manage.py migrate
python manage.py createsuperuser
# To use default "Username" and skip "Email address", press Enter at both prompts.
# At "Password" prompts, you may use an easy-to-remember password.
python manage.py collectstatic --no-input
Important A local machine CMS will be empty. It will not have content from staging nor production. If you need that, follow and adapt instructions to replicate a CMS database. This requires high-level server access or somone to give you a copy of the content.
Note A local machine CMS does not include nor integrate with an instance of Core Portal. To attempt to do that, follow How to Use a Custom Docker Compose File and Locally Develop CMS Portal Docs. Help welcome.
To update an existing CMS instance.
Read Upgrade Project for developer instructions.
make stop
make build
make start
To only update as necessary, or update since uncommon changes, read Command Sequences.
Read Manage Dependencies.
Read Django CMS User Guide for CMS user instructions.
Read Develop Project for developer instructions.
To develop a new or existing custom CMS website for a client, read Develop a Custom Project.
To develop a new or existing Django CMS app or plugin for a client, read Develop a Custom App/Plugin.
Read Testing for miscellaneous workflows.
Read Debug Project for miscellaneous tips.
Read Run Another Project Instance when you need a second dev server (shared or isolated database).
Follow "Core-CMS" section of How To Build & Deploy.
To contribute, first read How to Contribute.
| command | reference |
|---|---|
docker exec -it core_cms /bin/bash | docker |
python manage.py migrate | django cms, django |
python manage.py collectstatic | django |
python manage.py createsuperuser | django cms, django |