From 9e796019d2b944b5bd7a266bad409632dbbb8f51 Mon Sep 17 00:00:00 2001 From: Simon Date: Sat, 21 Dec 2024 09:57:20 +0700 Subject: [PATCH] better local dev setup --- .gitignore | 4 ++-- deploy.sh | 4 +++- 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/.gitignore b/.gitignore index 41dd08d9..c5d22b51 100644 --- a/.gitignore +++ b/.gitignore @@ -3,8 +3,8 @@ __pycache__ .venv # django testing -**/static/volume -**/.env +backend/static +backend/.env # vscode custom conf .vscode diff --git a/deploy.sh b/deploy.sh index aa6817d2..10c8e0d1 100755 --- a/deploy.sh +++ b/deploy.sh @@ -51,7 +51,9 @@ function sync_test { --exclude "**/cache" \ --exclude "**/__pycache__/" \ --exclude "**/.pytest_cache/" \ - --exclude "**/static/volume" \ + --exclude "**/static/" \ + --exclude "**/node_modules/" \ + --exclude "**/.env" \ --exclude ".venv" \ --exclude "db.sqlite3" \ --exclude ".mypy_cache" \