Skip to content

Commit

Permalink
fix: settings dirs via manual command
Browse files Browse the repository at this point in the history
Simple manual way to stop creation of empty directories.

Drawback: Manual step… BUT it replaces step that had been here.
  • Loading branch information
wesleyboar committed Dec 10, 2024
1 parent 985e86a commit 699334f
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 17 deletions.
7 changes: 6 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -105,6 +105,12 @@ After you clone the repository locally, there are several configuration steps re
- Copy `server/portal/settings/settings_local.example.py` to `server/portal/settings/settings_local.py`
- _Note: [Setup ngrok](#setting-up-notifications-locally) and update `WH_BASE_URL` in `settings_local.py` to enable webhook notifications locally_

##### CMS

- Create `server/conf/cms/` settings and secrets files e.g. `touch src/components/settings_{custom,local}.py && touch src/components/secrets.py`.

To populate or customize the CMS, read [Customize a CMS](./docs/customize-cms.md).

#### Build the image for the portal's django container:
make build
OR
Expand Down Expand Up @@ -276,7 +282,6 @@ Sign your commits ([see this link](https://help.github.com/en/github/authenticat

* [Learn Markdown](https://bitbucket.org/tutorials/markdowndemo)
* [Tapis Project (Formerly Agave)](https://tacc-cloud.readthedocs.io/projects/agave/en/latest/)
* [Customize the CMS](./docs/customize-cms.md)


<!-- Link Aliases -->
Expand Down
20 changes: 4 additions & 16 deletions server/conf/docker/docker-compose-dev.all.debug.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,22 +6,10 @@ services:
cms:
image: taccwma/core-cms:feat-CMD-194-customize-core-cms-in-core-portal
volumes:
- type: bind
source: ../cms/settings/settings_default.py
target: /code/taccsite_cms/settings_default.py
read_only: true
- type: bind
source: ../cms/settings/settings_custom.py
target: /code/taccsite_cms/settings_custom.py
read_only: true
- type: bind
source: ../cms/settings/secrets.py
target: /code/taccsite_cms/secrets.py
read_only: true
- type: bind
source: ../cms/settings/settings_local.py
target: /code/taccsite_cms/settings_local.py
read_only: true
- ../cms/settings/settings_default.py:/code/taccsite_cms/settings_default.py
- ../cms/settings/settings_custom.py:/code/taccsite_cms/settings_custom.py
- ../cms/settings/secrets.py:/code/taccsite_cms/secrets.py
- ../cms/settings/settings_local.py:/code/taccsite_cms/settings_local.py
- ../cms/uwsgi/uwsgi.ini:/code/uwsgi.ini
- ../../cms/static:/code/static
- ../../cms/media:/code/media
Expand Down

0 comments on commit 699334f

Please sign in to comment.