TACC / Core-CMS

The Core CMS codebase used by TACC Portals.
https://cep.tacc.utexas.edu
2 stars 1 forks source link

fix: ui demo, and make it an opt-in feature #705

Closed wesleyboar closed 1 year ago

wesleyboar commented 1 year ago

Overview / Changes

UI Demo:

Important Closed, because it adds too much time to client build.

Related

Testing

  1. Build fresh local Core CMS.
  2. Build demo:
    docker exec -it core_cms /bin/bash
    # That opens a command prompt within the container.
        npm run build:ui-demo
  3. Give server time to auto-restart.
  4. Open demo: http://localhost:8000/static/ui/index.html
  5. Visit CMS pattern, like Django Forms: http://localhost:8000/static/ui/components/detail/django-cms-forms.html
  6. Verify form is styled.

UI

Local Core (TACC/Core-CMS) - Manual Demo Build Local Client (TACC/tup-ui) - Opt-In Demo Build
local via client
Remote Client (dev.tup.tacc…) - Opt-In Demo Build Remote Client (dev.cep.tacc…) - No Demo Build
remote remote core
wesleyboar commented 1 year ago

This adds too much time to the client build.

I think there is a better way to not build for every CMS, but also cache the demo (perhaps isolate its build).