From 68e402c69e298c4ff1ebb6536328aae9f0156b00 Mon Sep 17 00:00:00 2001 From: Pratyush Singha Date: Wed, 23 Oct 2024 17:29:44 +0530 Subject: [PATCH 1/2] refactor: Remove .env file from version control --- .env | 2 -- .gitignore | 1 + 2 files changed, 1 insertion(+), 2 deletions(-) delete mode 100644 .env diff --git a/.env b/.env deleted file mode 100644 index 757bf90..0000000 --- a/.env +++ /dev/null @@ -1,2 +0,0 @@ -VITE_BACKEND_URL=http://localhost:8080/api/v1 -VITE_FRONTEND_URL=http://localhost:5173 \ No newline at end of file diff --git a/.gitignore b/.gitignore index a547bf3..1cac559 100644 --- a/.gitignore +++ b/.gitignore @@ -22,3 +22,4 @@ dist-ssr *.njsproj *.sln *.sw? +.env \ No newline at end of file From 77f9f6c21117602bbcc01a649f9fa991f6e913c0 Mon Sep 17 00:00:00 2001 From: Pratyush Singha Date: Wed, 23 Oct 2024 17:32:34 +0530 Subject: [PATCH 2/2] refactor: Add .env.example for env configurations in local development --- .env.example | 4 ++++ 1 file changed, 4 insertions(+) create mode 100644 .env.example diff --git a/.env.example b/.env.example new file mode 100644 index 0000000..2cee9d0 --- /dev/null +++ b/.env.example @@ -0,0 +1,4 @@ +VITE_BACKEND_URL= # YOUR_BACKEND_URL +VITE_PUSHER_CLUSTER= # YOUR_PUSHER_CLUSTER +VITE_PUSHER_APP_ID= # YOUR_PUSHER_APP_ID +VITE_FRONTEND_URL= # YOUR_FRONTEND_URL \ No newline at end of file