Skip to content

Test CMS Changes

W. Bomar edited this page Mar 17, 2021 · 22 revisions

Via Local CMS Docker Image on Local Standalone CMS

  1. Have an existing Core-CMS.
  2. (If docker containers are running) Stop (i.e. bring down) the dockers.
  3. Checkout relevant branch.
  4. Run command npm run build.
  5. Start (i.e. bring up) the docker containers.

Via Remote CMS Docker Image on Local Standalone CMS

Warning: These steps have not been thoroughly verified.

  1. Have an existing Core-CMS.
  2. (If docker containers are running) Stop (i.e. bring down) the dockers.
  3. Checkout relevant branch.
  4. Delete /static directory.
  5. In the relevant docker-compose config file, update the services:cms:image value to a provided docker image tag.
  6. Rebuild the CMS docker container.
  7. Start (i.e. bring up) the docker containers.
  8. In the CMS container, run python manage.py collectstatic --no-input.

Via Remote CMS Docker Image on Local Portal (with CMS)

Warning: These steps have not been thoroughly verified.

  1. Have an existing Core-Portal.
  2. (If docker containers are running) Stop (i.e. bring down) the dockers.
  3. Checkout relevant branch.
  4. Delete /server/cms/static directory.
  5. In the relevant docker-compose config file, update the services:cms:image value to a provided docker image tag.
  6. Rebuild the CMS docker container.
  7. Start (i.e. bring up) the docker containers.
  8. In the CMS container, run python manage.py collectstatic --no-input.