From fa1d087771c32e4330b6236ad80ea517d4aeae92 Mon Sep 17 00:00:00 2001 From: arjunbansal090 <40880615+arjunbansal090@users.noreply.github.com> Date: Fri, 22 May 2020 23:23:05 +0530 Subject: [PATCH 1/2] Fixes #187 - Add node and npm version in readme --- .nvmrc | 2 +- README.md | 17 ++++++++++++----- 2 files changed, 13 insertions(+), 6 deletions(-) diff --git a/.nvmrc b/.nvmrc index f599e28..cba133d 100644 --- a/.nvmrc +++ b/.nvmrc @@ -1 +1 @@ -10 +10.18.0 \ No newline at end of file diff --git a/README.md b/README.md index f99d5bd..1521b07 100644 --- a/README.md +++ b/README.md @@ -31,18 +31,25 @@ cd ./boss ``` -3. Install all project dependency packages via NPM +3. Check out the supported node version + +``` +nvm use + +``` + +4. Install all project dependency packages via NPM ``` npm install ``` -4. Create a `secrets.json` file in the root directory taking hint from the `secrets-sample.json` file or You can also create a copy of `secrets-sample.json` file and rename it as `secrets.json` in the root directory. ( Don't worry secrets.json is already added to .gitignore file so it won't be commited ) +5. Create a `secrets.json` file in the root directory taking hint from the `secrets-sample.json` file or You can also create a copy of `secrets-sample.json` file and rename it as `secrets.json` in the root directory. ( Don't worry secrets.json is already added to .gitignore file so it won't be commited ) -5. Create a Client on Coding Blocks OneAuth using [https://account.codingblocks.com/clients/add](https://account.codingblocks.com/clients/add) +6. Create a Client on Coding Blocks OneAuth using [https://account.codingblocks.com/clients/add](https://account.codingblocks.com/clients/add) **Remember the Client ID and Client Secret and copy them to your `secrets.json` file.** @@ -51,7 +58,7 @@ Also, remember to change the callback URL to your desired url. You can use `http -5. Set up PostgreSQL +7. Set up PostgreSQL - If you don't have PostgreSQL setup on your machine you can download it from [here](https://www.postgresql.org/download/). - If you have renamed the `secrets-sample.json` file to `secrets.json` then @@ -59,7 +66,7 @@ Also, remember to change the callback URL to your desired url. You can use `http - Create a new database in PostgreSQL server with name **dbname**. - If you have created a new `secrets.json` file then create the respective things accordingly. -6. Start the server. +8. Start the server. ``` npm start From a61d03dbdd75b543956502f451309a80f8947e20 Mon Sep 17 00:00:00 2001 From: Arjun Bansal <40880615+arjunbansal090@users.noreply.github.com> Date: Fri, 22 May 2020 23:29:44 +0530 Subject: [PATCH 2/2] Update .nvmrc --- .nvmrc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.nvmrc b/.nvmrc index cba133d..06c9b9d 100644 --- a/.nvmrc +++ b/.nvmrc @@ -1 +1 @@ -10.18.0 \ No newline at end of file +10.18.0