update readme
This commit is contained in:
parent
d18c21c72a
commit
3b531774ae
15
README.md
15
README.md
@ -45,6 +45,7 @@ subcommands
|
|||||||
* init
|
* init
|
||||||
* pull
|
* pull
|
||||||
* list
|
* list
|
||||||
|
|
||||||
* listauthors
|
* listauthors
|
||||||
* gettext
|
* gettext
|
||||||
* settext
|
* settext
|
||||||
@ -53,13 +54,14 @@ subcommands
|
|||||||
* revisionscount
|
* revisionscount
|
||||||
* index
|
* index
|
||||||
* deletepad
|
* deletepad
|
||||||
|
* pushhtml
|
||||||
|
|
||||||
To get help on a subcommand:
|
To get help on a subcommand:
|
||||||
|
|
||||||
etherdump revisionscount --help
|
etherdump revisionscount --help
|
||||||
|
|
||||||
|
|
||||||
Usage / cookbook
|
Cookbook
|
||||||
========================
|
========================
|
||||||
|
|
||||||
Using etherdump to migrate from one etherpad instance to another
|
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 init
|
||||||
etherdump pushhtml --basepath ../instance1 ../instance1/p/*.meta.json
|
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).
|
Updated files to work with python3 (probably this has broken python2).
|
||||||
|
|
||||||
|
Jun 2019
|
||||||
|
-------------
|
||||||
|
Revised sethtml & added pushhtml
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user