Skip to content

Commit

Permalink
Updated readme
Browse files Browse the repository at this point in the history
  • Loading branch information
Krixium authored Apr 15, 2018
1 parent c48cb0c commit b9545dd
Showing 1 changed file with 7 additions and 3 deletions.
10 changes: 7 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,14 +11,18 @@ This repository contains a server which handles the registration, authentication
Install dependencies:
`npm install`

Create a `.env` file in the root directory of the repository. Populate the file with the following environment variables:
Instal MongoDB
`sudo dnf install mongodb mongodb-server`

Run the setup script
`./setup.sh DBNAME DBUSER DBPASSWORD`

`DBNAME` Name of the remote DB

`DBUSER` Username of the remote DB user

`DBPASSWORD` Password of the remote DB user

`SECRET` A random secret to be used creating tokens

## Running
`npm start` or `node server.js`

Expand Down

0 comments on commit b9545dd

Please sign in to comment.