Editing CommunityData:Etherpad

From CommunityData

Warning: You are not logged in. Your IP address will be publicly visible if you make any edits. If you log in or create an account, your edits will be attributed to your username, along with other benefits.

The edit can be undone. Please check the comparison below to verify that this is what you want to do, and then publish the changes below to finish undoing the edit.

Latest revision Your text
Line 1: Line 1:
Our group typically takes real-time notes in [[:wikipedia:Etherpad|Etherpad]] which is a little like Google Docs but for text files and with color everywhere to see who is working where and who has written what. Our Etherpad server is: https://etherpad.communitydata.science/
Our group typically takes real-time notes in [[:wikipedia:Etherpad|Etherpad]] which is a little like Google Docs but for text files and with color everywhere to see who is working where and who has written what. There are a number of different Etherpad servers out our server is: https://etherpad.communitydata.science/


To create a new page, just go to https://etherpad.communitydata.science/ and type in the name of the page. It's a good idea to make it unique/descriptive and to include a date. A good name might be <code>cdsc_cabal_meeting-20380119</code>. Etherpads are public webpages. You can choose a pagename that is random or might be difficult to guess but you cannot make one that is truly private.
To create a new page, just go to https://etherpad.communitydata.science/ and type in the name of the page. It's a good idea to make it unique/descriptive and to include a date. A good name might be <code>cdsc_cabal_meeting-20380119</code>. Etherpads are public webpages. You can choose a pagename that is random or might be difficult to guess but you cannot make one that is truly private.
Line 7: Line 7:
You can make a semi-private one by including the word "private" in front of the pad name. For example, if you name your pad <code>private-cdsc_cabal_meeting-20380119</code> people will be asked for a username and password shared with the group. You can ask other folks in the group for the username or password or you can find by searching the [[CommunityData:Email#Email Lists|email list]] archives for the '''collective-XXXX@communitydata.science''' email lists.
You can make a semi-private one by including the word "private" in front of the pad name. For example, if you name your pad <code>private-cdsc_cabal_meeting-20380119</code> people will be asked for a username and password shared with the group. You can ask other folks in the group for the username or password or you can find by searching the [[CommunityData:Email#Email Lists|email list]] archives for the '''collective-XXXX@communitydata.science''' email lists.


== Administration for Etherpad ==
== Backing up Etherpads ==


To maintain Etherpad we need to update the git repository on our etherpad server (anhel). Every time we do this, we'll first run these commands:
Eventually, the Etherpad will likely be deleted (likely after a few months of no activity). Sometimes we want to keep copies of things as they evolve over time as well.


<syntaxhighlight lang='bash'>
As a result, we have a system to backup our Etherpads. It runs once a days and keeps a backup copy each day. We can use the backups to go back to any old copy of any Etherpad so you can safely blow away old text and know you will be able to get the archived text back if you need it.
sudo -u etherpad bash              # get a shell as the etherpad user
cd ~etherpad/etherpad-lite        # change to the directory for the etherpad user
</syntaxhighlight>
 
=== Upgrading Etherpad to new upstream version ===
 
To upgrade "everything" it should be enough to do this (''after'' running the command above):
 
<syntaxhighlight lang='bash'>
git pull
</syntaxhighlight>
 
Then, run the following command ''as root'':
 
<syntaxhighlight lang='bash'>
systemctl restart etherpad
</syntaxhighlight>
 
=== Installing a plugin ===
 
If we wanted to install the <code>ep_comments_page</code> plugin we would (a) fun the first two commands above to get into the right directory (do ''not'' run these as root or from some other directory!) and then run the following command:
 
<syntaxhighlight lang='bash'>
npm install ep_comments_page
</syntaxhighlight>
 
Once, again, we will restart Etherpad running the following command as root:
 
<syntaxhighlight lang='bash'>
systemctl restart etherpad
</syntaxhighlight>
 
 
== Backing up Etherpads (optional/deprecated) ==
 
{{notice|This is entirely optional and is probably no longer necessary since we moved to our own Etherpad server.}}
 
Etherpads should not be treated as long term storage. Although we have no plan to purge things from our own server, there's no promise that they will be kept across upgrades and server migrations either. As a result, we have a system to backup our Etherpads. It runs once a days and keeps a backup copy each day. We can use the backups to go back to any old copy of any Etherpad so you can safely blow away old text and know you will be able to get the archived text back if you need it.


That said, we need to register every Etherpad that we want backed up first. To do that, we need to first check out <code>cdsc-etherpads</code> repository from the [[CommunityData:Git|group Git repository]] with a line in your terminal like:
That said, we need to register every Etherpad that we want backed up first. To do that, we need to first check out <code>cdsc-etherpads</code> repository from the [[CommunityData:Git|group Git repository]] with a line in your terminal like:
Please note that all contributions to CommunityData are considered to be released under the Attribution-Share Alike 3.0 Unported (see CommunityData:Copyrights for details). If you do not want your writing to be edited mercilessly and redistributed at will, then do not submit it here.
You are also promising us that you wrote this yourself, or copied it from a public domain or similar free resource. Do not submit copyrighted work without permission!

To protect the wiki against automated edit spam, we kindly ask you to solve the following CAPTCHA:

Cancel Editing help (opens in new window)

Template used on this page: