From 9a03a676838123e09e3c95a63685217da54c004d Mon Sep 17 00:00:00 2001 From: Aarni Halinen Date: Mon, 17 Jan 2022 21:56:28 +0200 Subject: [PATCH] Cleanup env-files --- .env.development | 4 ---- .env.local.example | 3 +++ .env.prod | 4 ---- README.md | 3 ++- 4 files changed, 5 insertions(+), 9 deletions(-) delete mode 100644 .env.development create mode 100644 .env.local.example delete mode 100644 .env.prod diff --git a/.env.development b/.env.development deleted file mode 100644 index 54ea330..0000000 --- a/.env.development +++ /dev/null @@ -1,4 +0,0 @@ -NEXT_PUBLIC_DEPLOY_ENV=development -NEXT_PUBLIC_SENTRY_DSN=https://3ad96a8fb4ee46dab4a913049e2a8b38@o1039142.ingest.sentry.io/6007885 -NEXT_PUBLIC_API_URL=https://api.dev.sahkoinsinoorikilta.fi/api -NEXT_PUBLIC_SITE_URL=https://dev.sahkoinsinoorikilta.fi diff --git a/.env.local.example b/.env.local.example new file mode 100644 index 0000000..3b145f9 --- /dev/null +++ b/.env.local.example @@ -0,0 +1,3 @@ +NEXT_PUBLIC_DEPLOY_ENV=local +NEXT_PUBLIC_API_URL=https://api.dev.sahkoinsinoorikilta.fi/api +NEXT_PUBLIC_SITE_URL=https://dev.sahkoinsinoorikilta.fi diff --git a/.env.prod b/.env.prod deleted file mode 100644 index f0723ea..0000000 --- a/.env.prod +++ /dev/null @@ -1,4 +0,0 @@ -NEXT_PUBLIC_DEPLOY_ENV=production -NEXT_PUBLIC_SENTRY_DSN=https://3ad96a8fb4ee46dab4a913049e2a8b38@o1039142.ingest.sentry.io/6007885 -NEXT_PUBLIC_API_URL=https://api.sahkoinsinoorikilta.fi/api -NEXT_PUBLIC_SITE_URL=https://sahkoinsinoorikilta.fi diff --git a/README.md b/README.md index d347b20..3b60936 100644 --- a/README.md +++ b/README.md @@ -11,7 +11,8 @@ This is a [Next.js](https://nextjs.org/) project bootstrapped with [`create-next 1. Clone/download repo 2. Install node v16 ([`nvm`](https://github.com/nvm-sh/nvm)) -3. `npm install` +3. `cp .env.local.example .env.local` +4. `npm install` ## Getting Started