Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .nvmrc
Original file line number Diff line number Diff line change
@@ -1 +1 @@
10
10.18.0
17 changes: 12 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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.**

Expand All @@ -51,15 +58,15 @@ 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
- After Installation is complete create a new PostgreSQL user **username** with password as **pass**.
- 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
Expand Down