TACC/Core-CMS-Custom

Cleanup Cruft & Be Consistent

Opened this issue · 0 comments

Overview

Update all projects based on general review comments in #184.

To Do

Elasticsearch

Example: b942d2c

  • remove elasticsearch.py
  • remove elasticsearch container volume ./elasticsearch.py:…

Custom Apps

Example: a993361, f8e4640

  • remove cms container volume ./src/apps:/code/apps
  • remove Docker COPY /src/apps /code/apps
  • remove src/apps

TACC Core-Styles Version

Example: d192e40

  • add TACC_CORE_STYLES_VERSION to taccsite_cms/settings_custom.py

CMS Settings

  • make order of settings in settings_custom.py match Core-CMS

No Extra __init__.py

Example: /example_cms& /ecep-cms

  • remove extra __init__.py files (only apps need them)

Remove Placeholder Templates

Example: demdata-cms

  1. Edit all pages on a production website of a deployed Core-CMS-Custom app.
  2. Update them to not use DEPRECATED templates.
  3. Delete the ____-cms/templates directory.

Just One Images Folder

Example: 30c248

  • move images from /img/org_logos & /img/favicons to just /img
  • update settings_custom.py to use /img path, not /img/org_logos & /img/favicons