Skip to content

Installation

geoffwhittington edited this page Feb 13, 2015 · 12 revisions

Prerequisites

Node.js (0.10+)

See the official Node.js installation documentation.

MongoDB (2.0+)

See the official MongoDB installation documentation.

Installation

Clone the Let's Chat repository, and install dependencies.

git clone https://github.com/sdelements/lets-chat.git
cd lets-chat
npm install

(Optional) For custom settings, copy and edit settings.yml.sample:

cp settings.yml.sample settings.yml

Important Security Notes

See https://github.com/sdelements/lets-chat/wiki/Authentication#local-authentication for details on changing the default authentication settings. The default settings may be too insecure for your environment.

Upgrading

Backup both your installation, and the database.

git pull
npm run-script migrate

Running the application

Start the application.

npm start

Party time: http://localhost:5000