Adjust README files.
This commit is contained in:
		| @@ -2,16 +2,13 @@ | ||||
| # Install Etherpad Lite | ||||
| # ----- | ||||
|  | ||||
| # Add repository for  node.js 10.x | ||||
| # ---------- | ||||
| # Install nodejs: | ||||
| # | ||||
| curl -sL https://deb.nodesource.com/setup_14.x | sudo -E bash - | ||||
|  | ||||
|  | ||||
| # Install nodejs | ||||
| # | ||||
| apt install -y nodejs | ||||
|  | ||||
| #    see: README.install-node.js | ||||
| # ---------- | ||||
|  | ||||
| # ---------- | ||||
| # Install abiword | ||||
| # | ||||
| #  Abiword is needed to get advanced import/export features of pads. Setting | ||||
| @@ -19,6 +16,7 @@ apt install -y nodejs | ||||
| #  import/exports. | ||||
| # | ||||
| apt-get install abiword | ||||
| # ---------- | ||||
|  | ||||
| # Create user/group etherpad | ||||
| # | ||||
| @@ -48,32 +46,13 @@ git clone --branch master https://github.com/ether/etherpad-lite.git | ||||
| # Type CTRL + 'c' to leave | ||||
| # | ||||
| cd etherpad-lite | ||||
| bin/run.sh | ||||
|  | ||||
| # <CTRL> + c | ||||
| src/bin/run.sh | ||||
|  | ||||
|  | ||||
| # Install plugins | ||||
| # Stop etherpad-lite now | ||||
| # | ||||
| #   does NOT WORK this time (etherpad version 1.8.7) | ||||
| #   ep_delete_after_delay \ | ||||
| # | ||||
| npm install \ | ||||
|    ep_adminpads2 \ | ||||
|    ep_headings2 \ | ||||
|    ep_delete_empty_pads \ | ||||
|    ep_fileupload \ | ||||
|    ep_markdown \ | ||||
|    ep_comments_page \ | ||||
|    ep_align \ | ||||
|    ep_font_color \ | ||||
|    ep_font_size \ | ||||
|    ep_print \ | ||||
|    ep_set_title_on_pad \ | ||||
|    ep_table_of_contents \ | ||||
|    ep_embedded_hyperlinks2 | ||||
| <CTRL> + c | ||||
|  | ||||
| npm audit fix | ||||
|  | ||||
| # Edit settings file 'vim /var/www/etherpad/etherpad-lite/settings.json' | ||||
| # | ||||
| @@ -86,11 +65,71 @@ npm audit fix | ||||
| # 2.) Uncomment section '"users": {' and set password to make admin settings page | ||||
| #     available - https://${FQHN}/admin | ||||
| # | ||||
| #     Passwords: | ||||
| #        admin: dbddhkpuka | ||||
| #        users: chnarzfoo5 | ||||
| #        | ||||
| # | ||||
| # 3.) To suppress these warning messages change 'suppressErrorsInPadText' to true       | ||||
| # | ||||
| vim /var/www/etherpad/etherpad-lite/settings.json | ||||
|  | ||||
|  | ||||
| # Install plugins | ||||
| # | ||||
| #   does NOT WORK this time (etherpad version 1.8.7) | ||||
| #   ep_delete_after_delay \ | ||||
| # | ||||
| #     - adminpads3 (ep_adminpads3) | ||||
| # | ||||
| #     - align (ep_align) | ||||
| # | ||||
| #     - delete_after_delay (oep_delete_after_delay) | ||||
| # | ||||
| #        Install the plugin and put this in your settings.json: | ||||
| # | ||||
| #           "ep_delete_after_delay": { | ||||
| #             "delay": 86400, // one day, in seconds | ||||
| #             "loop": true, | ||||
| #             "loopDelay": 3600, // one hour, in seconds | ||||
| #             "deleteAtStart": true, | ||||
| #             text": "The content of this pad has been deleted since it was older than the configured delay." | ||||
| #           }, | ||||
| # | ||||
| #     - delete_empty_pads (ep_delete_empty_pads) | ||||
| # | ||||
| #     - font_color (ep_font_color) | ||||
| # | ||||
| #     - font_size (ep_font_size) | ||||
| # | ||||
| #     - headings2 (ep_headings2) | ||||
| # | ||||
| #     - markdown (ep_markdown) | ||||
| # | ||||
| #     - print (ep_print) | ||||
| # | ||||
| #     - set_title_on_pad (ep_set_title_on_pad) | ||||
| # | ||||
| #     - table_of_contents (ep_table_of_contents) | ||||
|  | ||||
|  | ||||
| # installation via 'npm install ..' does not work yet. So you | ||||
| # have to install the plugins manualy | ||||
| # | ||||
| #npm install \ | ||||
| #   ep_adminpads3 \ | ||||
| #   ep_align \ | ||||
| #   ep_delete_after_delay \ | ||||
| #   ep_delete_empty_pads \ | ||||
| #   ep_font_color \ | ||||
| #   ep_font_size \ | ||||
| #   ep_headings2 \ | ||||
| #   ep_markdown \ | ||||
| #   ep_print \ | ||||
| #   ep_set_title_on_pad \ | ||||
| #   ep_table_of_contents \ | ||||
|  | ||||
|  | ||||
|  | ||||
| # Plugin delete_after_delay | ||||
| # | ||||
|   | ||||
		Reference in New Issue
	
	Block a user