Skip to content

How to Migrate Website from v1

W. Bomar edited this page Dec 8, 2021 · 1 revision

Steps

  1. If you did not create your project by cloning example-cms, 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
      <!-- To style old CMS content on new CMS -->
      <!-- <link rel="stylesheet" href="{% static 'example-cms/css/build/migrate.v1_v2.css' %}"> -->
    • To
      <!-- To style old CMS content on new CMS -->
      <link rel="stylesheet" href="{% static 'name-of-project/css/build/migrate.v1_v2.css' %}">