Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat(matcssi_cms) #161

Merged
merged 18 commits into from
May 25, 2023
Merged

feat(matcssi_cms) #161

merged 18 commits into from
May 25, 2023

Conversation

wesleyboar
Copy link
Member

@wesleyboar wesleyboar commented May 24, 2023

Overview

Add MatCSSI project.

Changes

  • added matcssi_cms
  • added instructions to README for a project with a secrets.default.py

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/.

  1. git clone git@github.com:TACC/Core-CMS-Custom.git
  2. git checkout task/matcssi_cms
  3. cd custom-project-dir
    cp taccsite_cms/secrets.default.py taccsite_cms/secrets.py
    
  4. Create a settings_local.py with content from Core-CMS settings_local.example.py.
  5. make build
  6. make start
  7. Open new terminal.
  8. docker exec -it matcssi_cms /bin/bash
  9. python manage.py migrate
  10. python manage.py collectstatic
  11. python manage.py createsuperuser
  12. Open http://0.0.0.0:8000/.
  13. 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.

@wesleyboar wesleyboar changed the title feat(matcssi_cms): initial commit feat(matcssi_cms) May 24, 2023
This may solve error on remote deploy.

```
django.core.exceptions.ImproperlyConfigured: The app module <module 'taccsite_custom.matcssi_cms' (namespace)> has multiple filesystem locations (['/code/./taccsite_custom/matcssi_cms', '/code/taccsite_custom/matcssi_cms']); you must configure this app with an AppConfig subclass with a 'path' class attribute.
```
Copy link
Collaborator

@taoteg taoteg left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM. I left two comments, both more question than action and both up to you (if valid). Approving =).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants