diff --git a/Makefile b/Makefile index 82a112f2ffffdd2e394677edb0b30d3515c82e63..ebbbecb307e2dab04430e2c6c498e8cfa5853238 100644 --- a/Makefile +++ b/Makefile @@ -6,7 +6,7 @@ all: dev check-build # install pre-commit and install hooks from .pre-commit-config.yaml init: - brew install pre-commit + brew install pre-commit || sudo apt install pre-commit pre-commit install # Make sure pycapo gets built git submodule update --init --recursive diff --git a/docs/source/confluence/dockerized-setup.rst b/docs/source/confluence/dockerized-setup.rst index 0daf79580e85fea58dc34ca1511ad15c1a0872dc..d6873752ce9c815615be241ce29ccb6c9e3a914a 100644 --- a/docs/source/confluence/dockerized-setup.rst +++ b/docs/source/confluence/dockerized-setup.rst @@ -26,7 +26,7 @@ Initial Setup This will build your local development images and containers. -Then, do the following to allow worklows to execute: +Then, do the following to allow workflows to execute: .. code-block:: sh @@ -116,6 +116,11 @@ If you notice an error like `Fatal: could not read from remote repository`, try: 2. Run ``git clone --depth=1 gitlab@gitlab.nrao.edu:scg/condor_transfer_plugin.git`` in ``workspaces/`` 3. Try the above ``docker compose`` command again +If you notice an error like `Could not open /code/services/notification/notification.log: Permission denied` (This can also apply to the Workflow and Capability container) + +1. Make sure the container has write permissions to the `services/<container>` directory, e.g. `chmod 777 services/*` + + Running Different Docker Setups ~~~~~~~~~~~~~