Skip to content

Commit 527affa

Browse files
authored
Task/fp 1499 ui pattern demo (#527)
* feat(taccsite_ui): fp-1499 pattern demo * fix(taccsite_ui): fp-1499 remove stray logging * docs(_ui): fp-1499 fix copy-pasta usage steps * fix(taccsite_ui): build from core-styles tarball * fix(taccsite_ui): css demo start site.cs load Fractal start does not work, but build does, so just serve the dist. * docs(readme): taccsite_ui npm commands update * feat(…_ui): build from TACC/Core-Styles tarball * chore(taccsite_ui): fp-1499 no repeat theme config * chore(taccsite_ui): fp-1499 simpler theme config * feat(core-styles): fp-1499 install branch not tar * fix: node version in package.json & readme * fix(core-styles): get v0.8.0 (new release)
1 parent e996c2c commit 527affa

10 files changed

Lines changed: 12560 additions & 1840 deletions

File tree

.gitignore

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,9 @@ repo_name.var
2323
/static
2424
/media
2525

26+
# UI Pattern Demo
27+
/taccsite_ui/dist
28+
2629
# Secrets and Customizations
2730
taccsite_cms/secrets.py
2831
*.custom.yml

README.md

Lines changed: 19 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ The base CMS code for TACC WMA Workspace Portals & Websites
1919
* Docker 20.10.7
2020
* Docker Compose 1.29.2
2121
* Python 3.6.8
22-
* Nodejs 12.x (LTS)
22+
* Nodejs 16.x (LTS)
2323

2424
The Core CMS can be run using [Docker][1] and [Docker Compose][2]. You will
2525
need both Docker and Docker Compose pre-installed on the system you wish to run the CMS
@@ -267,6 +267,24 @@ If you need to change files within `/taccsite_custom`:
267267
<sub>\* You should run this command in the container __from `/code/`__. _See [Running Commands in Container](#running-commands-in-container)._</sub>\
268268
<sub>† See [Restarting the CMS Server](#restarting-the-cms-server).</sub>
269269

270+
### UI Pattern Demo
271+
272+
This demo shows [Core Styles] with `site.css` from either [Core CMS] or a [Core CMS Resources] project.
273+
274+
1. Build UI patterns demo: \*
275+
276+
```bash
277+
npm run build:css-demo --project=name-of-project
278+
```
279+
280+
2. Serve the demo:
281+
282+
```bash
283+
npm run start:css-demo
284+
```
285+
286+
<sub>\* Where `name-of-project` is "core-cms" or matches a directory from `/taccsite_custom`. __A project name is required.__</sub>
287+
270288

271289
## Running Commands in Container
272290

@@ -341,7 +359,6 @@ We use a modifed version of [GitFlow](https://datasift.github.io/gitflow/Introdu
341359

342360
See [Locally Develop CMS and Styles](https://github.com/TACC/Core-CMS/wiki/Locally-Develop-CMS-and-Styles).
343361

344-
345362
### Best Practices
346363

347364
Sign your commits ([see this link](https://help.github.com/en/github/authenticating-to-github/managing-commit-signature-verification) for help)

0 commit comments

Comments
 (0)