Skip to content

Latest commit

 

History

History
51 lines (31 loc) · 945 Bytes

README.md

File metadata and controls

51 lines (31 loc) · 945 Bytes

SymfonyTn-Demo

Realtime web application demo including: symfony2, nodejs, redis and socket.io (for websockets).

Requirement

You need to have all of those packages installed.

NOTE to Windows users : don't worry, all of those packages are installable on windows.

Installation

It's as simple as blinking your eyes :).

1- under your root project folder :

composer install

2- under (node) folder

npm install

that's it :) !

How to use ?

Now all what you have to do is to start your nodejs server with

node node/server.js

(of course for production use you will need to daemonize it)

Now every time you insert a new news from /admin/new all the connected users will see a realtime notification about that news.