Skip to content
dbrugne edited this page Nov 20, 2014 · 56 revisions

Protocol

Hosting

Connect

  • MongoDB production: localhost:27017/donut via SSH on : damien@5.196.206.60:22 (private key)
  • Redis production: localhost:6379 via SSH on : damien@5.196.206.60:22 (password)

Installation

On Windows

Redis for Windows

To install Redis on Windows x64 with unofficial port. Built binaries are available in the bin/ folder of this repository: https://github.com/MSOpenTech/redis

Get the ZIP file, uncompress in C:\Program Files\redis

Launch a "Commande line console" as "privileged user".

> cd "Program Files"/redis
> redis-server.exe

Normally now the server run correctly. Quit with CTRL+C.

Now we should configure Redis as a service:

> redis-server --service-install redis.windows.conf --loglevel verbose
> redis-server --service-start

You can use the excellent http://redisdesktop.com/ to browse server from desktop.

Pre-requisites

  • node.js + npm
  • MongoDB
  • Redis
  • Bower (installed as npm -g)

Pomelo on Windows

Install

Clone the GitHub project, go in server/ sub--folder and install dependencies:

npm install bower install

Then launch the application (development):

NODE_ENV=dev ./bin/www

Or production:

pm2 restart chat

Clone this wiki locally