diff --git a/.gitattributes b/.gitattributes index 176a458f..12b44b4f 100644 --- a/.gitattributes +++ b/.gitattributes @@ -1 +1,2 @@ * text=auto +server/vbv_lernwelt/static/media/lfs/** filter=lfs diff=lfs merge=lfs -text diff --git a/README.md b/README.md index 7bcecbeb..50685426 100644 --- a/README.md +++ b/README.md @@ -30,6 +30,13 @@ export IT_APP_ENVIRONMENT=development See `.env_secrets/local_daniel.env` for more possible environment variables. Especially set correct values for `POSTGRES_*` and `DATABASE_URL` +Install git-lfs + +```bash +brew install git-lfs +git lfs install +``` + ### Server part Install python dependencies: @@ -74,9 +81,9 @@ npm install ### Git hooks ```bash -# install git hooks -ln -s ../../git-pre-commit.sh .git/hooks/pre-commit -ln -s ../../git-pre-push.sh .git/hooks/pre-push +# install pre-push git hook +# add this line to the existing script in .git/hooks/pre-push +./git-pre-push.sh ``` ### Actions on Save diff --git a/client/src/components/mediaLibrary/LinkCard.vue b/client/src/components/mediaLibrary/LinkCard.vue index dbf74cfc..c4ab5003 100644 --- a/client/src/components/mediaLibrary/LinkCard.vue +++ b/client/src/components/mediaLibrary/LinkCard.vue @@ -18,9 +18,8 @@ const props = withDefaults(defineProps(), {