TACC / Core-CMS-Custom

Customized Core CMS code and builds
5 stars 0 forks source link

feat(matcssi_cms) #161

Closed wesleyboar closed 1 year ago

wesleyboar commented 1 year ago

Overview

Add MatCSSI project.

Changes

Testing

Remote

https://pprd.mise.tacc.utexas.edu/

Local

Run MATCSSI with make. Set up CMS secrets, settings, container commands, et cetera. Load http://0.0.0.0:8000/.

0. `git clone git@github.com:TACC/Core-CMS-Custom.git` 1. `git checkout task/matcssi_cms` 2. ``` cd custom-project-dir cp taccsite_cms/secrets.default.py taccsite_cms/secrets.py ``` 3. Create a `settings_local.py` with content from [Core-CMS `settings_local.example.py`](https://github.com/TACC/Core-CMS/blob/main/taccsite_cms/settings_local.example.py). 4. `make build` 5. `make start` 6. Open new terminal. 7. `docker exec -it matcssi_cms /bin/bash` 8. `python manage.py migrate` 9. `python manage.py collectstatic` 10. `python manage.py createsuperuser` 11. Open http://0.0.0.0:8000/. 12. Populate as desired.

UI

remote local
macssi remote matcssi local

Notes

To support running multiple CMS projects locally at once:

  1. User must copy secrets.default.py to secrets.py or else docker network access would fail.
  2. Docker containers are prefixed with matcssi_ instead of core_ or else container names would conflict.