From 3b531774ae737850599cdda85f09c0e7fdd8e4fe Mon Sep 17 00:00:00 2001 From: Michael Murtaugh Date: Fri, 14 Jun 2019 13:22:39 +0200 Subject: [PATCH] update readme --- README.md | 15 ++++++++++----- 1 file changed, 10 insertions(+), 5 deletions(-) diff --git a/README.md b/README.md index 821ac1a..3fd6c7e 100644 --- a/README.md +++ b/README.md @@ -45,6 +45,7 @@ subcommands * init * pull * list + * listauthors * gettext * settext @@ -53,13 +54,14 @@ subcommands * revisionscount * index * deletepad +* pushhtml To get help on a subcommand: etherdump revisionscount --help -Usage / cookbook +Cookbook ======================== Using etherdump to migrate from one etherpad instance to another @@ -74,11 +76,12 @@ Using etherdump to migrate from one etherpad instance to another etherdump init etherdump pushhtml --basepath ../instance1 ../instance1/p/*.meta.json -Warning, this command indescriminantly clobbers pads in instance2 with the HTML of the dumped versions from instance1. +NB: sethtml/pushhtml seems to only work on the server itself, ie using API url such as localhost:9001. -Note: this technique can be used to "reset" the database of a pad by recreating pads (without their history or editor info/colors) in a fresh database. +NB: This command indescriminantly clobbers pads in instance2 with the HTML of the dumped versions from instance1. + +This technique can be used to "reset" the database of a pad by recreating pads (without their history or editor info/colors) in a fresh database. -NB: sethtml/pushhtml seems to be performed from the server itself ie using API url such as localhost:9001. @@ -109,4 +112,6 @@ Jan 2018 ------------- Updated files to work with python3 (probably this has broken python2). - +Jun 2019 +------------- +Revised sethtml & added pushhtml