Installation guide - 2dv612-team4/webchat GitHub Wiki
Preconditions installation guide
- Download and install the latest LTS version of Nodejs(6.9).
- Install and start mongodb or have accses to a mongodb database link.
Webchat installation guide
- Download the latest release as zip webchat.
- Unzip downloaded file.
- Open unziped folder in terminal.
- Enter
npm install in terminal and press enter.
- Type
MONGODB_URI= ( your mongodb url ) in terminal followed by npm start.
- Example:
MONGODB_URI=mongodb://localhost/WebChat npm start.
- If everything worked the server should print
Server started on 4000 and db open in the terminal.
- Open your browser and go to
http://localhost:4000/ where you can start chatting.