This repository has been archived by the owner on Nov 27, 2018. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 41
/
README
44 lines (26 loc) · 1.56 KB
/
README
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
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.