From b9545dd4124421dc2b01402cd28e735f441e11d0 Mon Sep 17 00:00:00 2001 From: Benny Wang Date: Sun, 15 Apr 2018 00:26:08 -0700 Subject: [PATCH] Updated readme --- README.md | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index c906e12..34128e8 100644 --- a/README.md +++ b/README.md @@ -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`