Switch to etherpad lite

Switch to etherpad lite

For the discussion of infrastructure improvements and changes.

Moderator: Moderators

Post Reply
User avatar
koshi
Lobby Developer
Posts: 1058
Joined: 14 Aug 2007, 16:15

Switch to etherpad lite

Post by koshi » 26 Feb 2012, 21:22

It's re-implementation of etherpad in node.js. Much lighter on server resources and it exposes a nice api to control/setup pads with password, as read-only and whatnot. Potentially openingn up the possibilty to have rss feeds for saved pad revisions.
0 x

User avatar
Licho
Zero-K Developer
Posts: 3803
Joined: 19 May 2006, 19:13

Re: Switch to etherpad lite

Post by Licho » 26 Feb 2012, 21:42

How to switch it?
0 x

User avatar
koshi
Lobby Developer
Posts: 1058
Joined: 14 Aug 2007, 16:15

Re: Switch to etherpad lite

Post by koshi » 26 Feb 2012, 21:50

Deployment is straightforward, there's even a ppa for the dependencies.

Code: Select all

apt-add-repository ppa:chris-lea/redis-server && apt-add-repository ppa:chris-lea/node.js
Basically just follow https://github.com/Pita/etherpad-lite/b ... /README.md
If porting existing pads is required, there's a migration path, but I haven't tried that.
0 x

abma
Spring Developer
Posts: 3555
Joined: 01 Jun 2009, 00:08

Re: Switch to etherpad lite

Post by abma » 27 Feb 2012, 00:58

http://springrts.com/phpbb/viewtopic.php?f=73&t=26800 (try etherpad lite?)

afaik tobi already looked at it some time ago...

(and yes, +1 for etherpad lite...)
0 x

Tobi
Spring Developer
Posts: 4598
Joined: 01 Jun 2005, 11:36

Re: Switch to etherpad lite

Post by Tobi » 01 Mar 2012, 14:27

Last time I checked (approx half a year ago I think) it missed some features compared to the etherpad we have now (I don't recall what exactly); possibly it's better now, though.

Resource wise it was a lot better definitely.

Didn't try a migration of the database yet, either.
0 x

abma
Spring Developer
Posts: 3555
Joined: 01 Jun 2009, 00:08

Re: Switch to etherpad lite

Post by abma » 14 Mar 2012, 17:31

i set etherpad-lite up:

http://springrts.com:9001/

Note: database of this instance will be deleted, this is just for testing.


only test-wise, it isn't started when the server is rebooted, also i didn't try to migrate the database, but that should't be hard: https://github.com/Pita/etherpad-lite/w ... erpad-Lite

thoughts?
0 x

User avatar
koshi
Lobby Developer
Posts: 1058
Joined: 14 Aug 2007, 16:15

Re: Switch to etherpad lite

Post by koshi » 14 Mar 2012, 17:42

+1, even if testing migration fails and we'd have to move stuff manually
0 x

User avatar
FLOZi
MC: Legacy & Spring 1944 Developer
Posts: 6109
Joined: 29 Apr 2005, 01:14

Re: Switch to etherpad lite

Post by FLOZi » 14 Mar 2012, 21:40

nice api to control/setup pads with password, as read-only and whatnot.
Read-only access for game devs please, even if on a ad-hoc case-by-case basis.
0 x

User avatar
koshi
Lobby Developer
Posts: 1058
Joined: 14 Aug 2007, 16:15

Re: Switch to etherpad lite

Post by koshi » 14 Mar 2012, 21:50

not following flozi
0 x

User avatar
FLOZi
MC: Legacy & Spring 1944 Developer
Posts: 6109
Joined: 29 Apr 2005, 01:14

Re: Switch to etherpad lite

Post by FLOZi » 14 Mar 2012, 21:58

koshi wrote:not following flozi
I will spell it out:

May I have read-only access to previously confidential engine-dev only correspondence/discussions/personal TODO lists, please. :P
0 x

User avatar
hoijui
Former Engine Dev
Posts: 4342
Joined: 22 Sep 2007, 09:51

Re: Switch to etherpad lite

Post by hoijui » 15 Mar 2012, 08:59

as much as i know, there is no read-only access. but even if there were, there would not be a general way of getting read access to all pads (which is a good thing), but you would have to request a read-only link for specific pads. in practise, if something should be publicised, people with access should probably just c&p it to pastebin and make that link public. that also helps to easily and clearly capture a specific state, like the making up a draft that was agreed upon in a meeting.
Last edited by hoijui on 24 Mar 2012, 09:49, edited 1 time in total.
0 x

User avatar
Forboding Angel
Evolution RTS Developer
Posts: 14600
Joined: 17 Nov 2005, 02:43

Re: Switch to etherpad lite

Post by Forboding Angel » 24 Mar 2012, 04:59

Why don't you guys use google docs? That makes a lot more sense than etherpad.
0 x

User avatar
MidKnight
Posts: 2650
Joined: 10 Sep 2008, 03:11

Re: Switch to etherpad lite

Post by MidKnight » 24 Mar 2012, 05:07

How so?
0 x

User avatar
Forboding Angel
Evolution RTS Developer
Posts: 14600
Joined: 17 Nov 2005, 02:43

Re: Switch to etherpad lite

Post by Forboding Angel » 24 Mar 2012, 06:12

Because with google docs, you can add editors, you can add viewers, there is chat built into it, and it's a living document.

Google docs has everything etherpad has, and more.

Edit: oh, and it doesn't drain the spring server of resources needed elsewhere.

Edit2: Google+ hangouts with extras has google docs, whiteboard, presentations, video/audio chat and can be broadcast for anyone to watch and can have up to 10 active participants. That makes more sense than either of the above, unless you don't want audio involved, of course.

However, if you guys had to face one another, a lot of this bullshit would probably have been avoided in the first place.
0 x

User avatar
AF
AI Developer
Posts: 20669
Joined: 14 Sep 2004, 11:32

Re: Switch to etherpad lite

Post by AF » 28 Mar 2012, 15:11

Or you could use something like the P2 wordpress theme, realtime discussion and commenting, then maybe bundle in a plugin or two like the 'resolved' plugin letting you mark things as un/resolved. It doubles up as a development blog too, just make it so most posts are closed to public commenting, and you'll all be able to edit each others stuff anyway

e.g.:

http://wpdevel.wordpress.com/
0 x

abma
Spring Developer
Posts: 3555
Joined: 01 Jun 2009, 00:08

Re: Switch to etherpad lite

Post by abma » 02 Jul 2012, 00:59

migrated to etherpad lite...

if it doesn't fail horrible it will be kept as is.

only issue i found is that the old links slightly changed:

if you use an old url, you get:
Cannot GET /....


if you use /p/... then it works as before...

not sure if i'll add a http-redirect for these urls.

edit: added the redirect.
0 x

abma
Spring Developer
Posts: 3555
Joined: 01 Jun 2009, 00:08

Re: Switch to etherpad lite

Post by abma » 04 Nov 2012, 05:25

0 x

Post Reply

Return to “Infrastructure Development”

cron