From ba4a4e1fcd64652d960e3643d76a46b45556c040 Mon Sep 17 00:00:00 2001 From: Kaushik Narayan R <59662438+20kaushik02@users.noreply.github.com> Date: Thu, 21 Sep 2023 16:43:06 -0700 Subject: [PATCH] Update README.md before going public --- README.md | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/README.md b/README.md index 81b472f..ff22ef7 100644 --- a/README.md +++ b/README.md @@ -2,9 +2,9 @@ ### To get started: -- Clone this repo: `git clone https://gitlab.com/ctf-tech-2023/backend-template` +- Clone this repo: `git clone https://gitlab.com/20kaushik02/express-sequelize-backend-template` - Reset the git remote repo URL: `git remote rm origin` -- Set new git remote URL: `git remote add origin https://gitlab.com/ctf-tech-2023/new-repo-name` +- Set new git remote URL: `git remote add origin https://gitlab.com/20kaushik02/new-repo-name` - Remove the template environment files from git alone: `git rm -r --cached *.env*` ### Project setup: @@ -14,8 +14,8 @@ - Run `npm i` to install all dependencies - Before running `sequelize-cli` commands while developing, make sure to set `$env:NODE_ENV='development'` on Windows, or `NODE_ENV=development` on Linux/MacOS - Env config: - - **.env** - All things common to all environments (port, mailer creds, JWT secret, admin data access creds, etc.) - - **.env.development** - Development environment (dev captcha secret, dev DB details) - - **.env.staging** - Staging environment (dev captcha secret, staging DB conn. string) - **for sysadmins** - - **.env.production** - Production environment (production captcha secret, prod DB conn. string) - **for sysadmins** + - **.env** - All things common to all environments (port, etc.) + - **.env.development** - Development environment (dev captcha secret, mailer creds, JWT secret, dev DB details, dev admin data access creds) + - **.env.staging** - Staging environment (dev captcha secret, mailer creds, JWT secret, staging DB conn. string, staging admin data access creds) - **for sysadmins** + - **.env.production** - Production environment (production captcha secret, mailer creds, JWT secret, prod DB conn. string, production admin data access creds) - **for sysadmins** - Staging: `npm run staging_prep` and `npm run staging` to deploy on Render after configuring a new web service on Render dashboard