Skip to content

Commit

Permalink
Merge branch 'master' of github.com:shalithasuranga/walk2win-deploy
Browse files Browse the repository at this point in the history
  • Loading branch information
alphagamer7 committed Aug 14, 2019
2 parents fa70476 + 414720b commit e89b1dc
Show file tree
Hide file tree
Showing 2 changed files with 19 additions and 2 deletions.
17 changes: 17 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -89,6 +89,23 @@ $ npm i
$ cd ../server
$ npm i
```
### Setup enviroment configuration

#### server

- Setup mongo connection string and the server port from `./server/.env`

```
MONGO_STR=<database_string>
PORT=3003
```

- Add your contest rules into `./server/constants.js`

#### client

- Add client setup here

Install mongodb and then import sample data

```bash
Expand Down
4 changes: 2 additions & 2 deletions server/.env
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
MONGO_STR=mongodb+srv://walk2win:Walk@[email protected]/test?retryWrites=true&w=majority
PORT=3003
MONGO_STR=<database_string>
PORT=3003

0 comments on commit e89b1dc

Please sign in to comment.