Skip to content
This repository has been archived by the owner on Nov 27, 2018. It is now read-only.

laktek/realie

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

21 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Realie - A Realtime Collaborative Code Editor

Aim of this project is to build a pastie/gist sort of an online code sharing utility, with realtime collaboration (similar to Etherpad). I started this project as part of my individual research project in the University.
 You can find my notes related to this project from here - http://www.web2media.net/laktek/tag/realie/

If you like to test out the app you will need to install the following:

1) Chrome Browser (version 5+) - This is because web sockets are still only supported in Chrome. But Firefox and other latest browsers would soon catch up!
2) Redis 2.0 (still in Release Candidate stage) - http://code.google.com/p/redis/
3) Node.js - 0.1.96+ (http://nodejs.org)

Follow the standard installations of above programs as mentioned in there documentation.

Once you have setup those, 
* Clone this repository - https://[email protected]/laktek/realie.git

* In app's source path and run:
  `git submodule init`
  `git submodule update`

* Then change the path to "vendor/express" and run:
  `git submodule init`
  `git submodule update`

* Change the path back to head.

* Now start the redis server (normally running, `etc/redis/redis-server`)

* Then again inside the app's source path run :
  `node app.js`

* Open another console tab with the same path and run:
  `node socket.js` 

* Finally, open Chrome and visit:
  http://localhost:3000/pad

** NB: Web Sockets will use the port 8080 to communicate, so you will need to open that port.


Contact me via GitHub if you have issues, suggestions or need any help regarding this app.