Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
22 changes: 22 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -93,6 +93,28 @@ To support multiple instances of the CMS on one machine (i.e. local development)
docker-compose -f docker-compose.custom.yml …
```

### (Optional) Migrate Website from Older Version

Some websites need static resources to supplement their migration.

1. __If__ you did not [create your project by cloning `example-cms`](#custom-resources), __then__:
1. Copy `templates/fullwidth.html` from `taccsite_custom/example-cms/` to `taccsite_custom/name-of-project/`.
2. Copy `static/.../css/src/migrate.v1_v2.css` from `taccsite_custom/example-cms/` to `taccsite_custom/name-of-project/`.
2. Update `taccsite_custom/name-of-project/templates/fullwidth.html` to load migration assets e.g.:
- Change

```html
<!-- To style old CMS content on new CMS -->
<!-- <link rel="stylesheet" href="{% static 'example-cms/css/build/migrate.v1_v2.css' %}"> -->
```

- To

```html
<!-- To style old CMS content on new CMS -->
<link rel="stylesheet" href="{% static 'name-of-project/css/build/migrate.v1_v2.css' %}">
```

## Run the CMS

### Prerequisites
Expand Down
2 changes: 1 addition & 1 deletion taccsite_custom
Submodule taccsite_custom updated 25 files
+15 −0 _shared/static/css/src/README.md
+38 −0 _shared/static/css/src/_migrations/README.md
+6 −6 _shared/static/css/src/_migrations/v1_v2/angular-material.1.1.8.css
+14 −10 _shared/static/css/src/_migrations/v1_v2/bootstrap.3.3.7.css
+29 −0 _shared/static/css/src/_migrations/v1_v2/main.portal.css
+5 −0 _shared/static/css/src/migrate.v1_v2.css
+3 −0 a2cps-cms/static/a2cps-cms/css/src/migrate.v1_v2.css
+22 −0 a2cps-cms/templates/fullwidth.html
+3 −0 example-cms/static/example-cms/css/src/migrate.v1_v2.css
+4 −0 example-cms/templates/fullwidth.html
+0 −16 frontera-cms/static/frontera-cms/css/archive/main.portal.css
+0 −7 frontera-cms/static/frontera-cms/css/src/_imports/components/tacc.c-footer.css
+10 −4 frontera-cms/static/frontera-cms/css/src/_migrations/v1_v2/frontera.css
+5 −0 frontera-cms/static/frontera-cms/css/src/migrate.v1_v2.css
+1 −1 frontera-cms/static/frontera-cms/css/src/site.css
+7 −7 frontera-cms/templates/fullwidth.html
+3 −0 neuronex-cms/static/neuronex-cms/css/src/migrate.v1_v2.css
+4 −0 neuronex-cms/templates/fullwidth.html
+6 −2 texascale-org/static/texascale-org/css/src/_imports/components/deprecated/bootstrap.blockquote.css
+42 −0 texascale-org/static/texascale-org/css/src/_imports/components/deprecated/c-offset-content.css
+0 −28 texascale-org/static/texascale-org/css/src/_imports/components/tacc.c-offset-content.css
+5 −0 texascale-org/static/texascale-org/css/src/_imports/objects/o-offset-content.css
+4 −2 texascale-org/static/texascale-org/css/src/_imports/trumps/s-article-page.css
+8 −0 texascale-org/static/texascale-org/css/src/_imports/trumps/s-blockquote.css
+5 −3 texascale-org/static/texascale-org/css/src/site.css