metamaps--metamaps/realtime
Connor Turland 73e8f2d4c8 re-implement chat in react (#997)
* hidously mangle ChatView to start moving it to React

* fix up Realtime/index.js - should be good now?

* in theory this should compile

* ok the MapChat renders using react...

* move Handlers code into react - woot

* try reintegrating backbone

* fix wrapper styling

* chat box opens and closes properly

* make the unread count work

* organize more sanely

* refactor some of the ChatView functions

* removed management of chatview from room

* css can stop handling logic right about now

* makin things work

* don't need room here anymore

* set raw html in message

* make pending work

* removeParticipant when mapper left was broken

* re-enable scrolling, focus, and blur
2016-12-21 03:56:29 -05:00
..
global.js eslint frontend folder (#923) 2016-11-07 15:25:08 -05:00
junto.js eslint frontend folder (#923) 2016-11-07 15:25:08 -05:00
map.js eslint frontend folder (#923) 2016-11-07 15:25:08 -05:00
README.md Update README.md 2016-10-22 10:59:43 -04:00
realtime-server.js re-implement chat in react (#997) 2016-12-21 03:56:29 -05:00
reducer.js Merge branch 'master' into develop 2016-11-09 09:29:30 -05:00
rooms.js [WIP] keep client fresh with junto info globally (#791) 2016-10-21 09:29:04 -04:00
signal.js eslint frontend folder (#923) 2016-11-07 15:25:08 -05:00

Node.js realtime server

To run the server, you need to install the dependencies and run the server. Please ensure you have followed the OS-specific instructions in doc/ to install NodeJS. Once you have node, then you can proceed to install the node packages for the realtime server:

npm install #creates node_modules directory
node realtime/realtime-server.js

That's it!

To run the server as a daemon that will be re-run if it crashes, you can use the forever node package.

sudo npm install -g forever
forever start realtime/realtime-server.js