WSL/SLF GitLab Repository

Commit 61f0ef21 authored by Sam's avatar Sam
Browse files

add cache_bust for envidat_extensions + readme...

for re-install of pip packages
parent 06d6d92c
......@@ -65,6 +65,7 @@ RUN PIPENV_VENV_IN_PROJECT=1 pipenv run \
COPY envidat_extensions.* /opt/repos/
RUN chmod +x /opt/repos/envidat_extensions.sh \
&& /opt/repos/envidat_extensions.sh
ADD https://google.com cache_bust
RUN PIPENV_VENV_IN_PROJECT=1 pipenv run \
python -m pip install -r "/opt/repos/envidat_extensions.txt" \
&& rm /opt/python/Pipfile /opt/python/Pipfile.lock
......
......@@ -34,3 +34,18 @@ SOLR_CKAN_PASS=xxxxxx
- Once the .env is configured, build the images with `docker compose build`
- Then once the secrets are set, run with `docker compose up -d`
## Reinstalling ckanext_xxx after editing
```bash
GIT_REPO=https://github.com/EnviDat/ckanext-cloudstorage.git
GIT_BRANCH=main
docker exec -it -u root:root ckan \
bash -c 'apt update \
&& apt install git -y --no-install-recommends'
docker exec -it -u root:root ckan \
pip install --upgrade --no-deps --force-reinstall \
"git+${GIT_REPO}@${GIT_BRANCH}"
```
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment