From a9a4bb23136bf33b6bc6064687fb4db366042c18 Mon Sep 17 00:00:00 2001 From: xdragon <283824437@qq.com> Date: Mon, 9 Sep 2024 13:34:53 +0800 Subject: [PATCH] =?UTF-8?q?=E8=AF=B4=E6=98=8E=E6=9B=B4=E6=96=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- 编译说明.md | 85 ++++++++++++++++++++++++++++++++++++++--------------- 1 file changed, 61 insertions(+), 24 deletions(-) diff --git a/编译说明.md b/编译说明.md index 0c824af3c..4d114d9db 100644 --- a/编译说明.md +++ b/编译说明.md @@ -1,30 +1,67 @@ -1. Download the latest Node.js runtime from [nodejs.org](https://nodejs.org/). -2. Install pnpm: `npm install -g pnpm` (Administrator privileges may be required). -3. Clone the repository: `git clone -b master` -4. Run `pnpm i` -5. Run `pnpm run build:etherpad` -6. Run `pnpm run prod` -7. Visit `http://localhost:9002` in your browser. +安装部署 + 1. Download the latest Node.js runtime from [nodejs.org](https://nodejs.org/). + 2. Install pnpm: `npm install -g pnpm` (Administrator privileges may be required). + 3. Clone the repository: `git clone -b master` + 4. Run `pnpm i` + 5. Run `pnpm run build:etherpad` + 6. Run `pnpm run prod` + 7. Visit `http://localhost:9002` in your browser. + 8.pnpm run plugins i ep_align + 9.pnpm run plugins rm ep_align + +安装好用的插件 + ep_aa_file_menu_toolbar 0.2.14 + + ep_align 0.3.97 + + ep_announce 0.0.28 + + ep_colibris_full_width 0.0.7 + + ep_etherpad-lite 2.2.2 + + ep_font_color 0.0.88 + + ep_font_size 0.4.61 + + ep_framasoft_table_of_contents 0.4.2 + + ep_headings2 0.2.64 + + ep_image_upload 1.0.105 + + ep_kodama 0.2.1 + + ep_markdown 1.0.1 + + ep_page_breaks 1.0.9 + + ep_subscript_and_superscript 0.3.8 + + ep_timesliderdiff 0.0.23 + + ep_user_displayname 后台中文设置,找到文件 - etherpad-lite\admin\src\localization>i18n.ts - // 修改 - fallbackLng: 'zh-hans' - -前台中文设置。搜索lang,改成 -lang = 'zh-hans' -修改文件 -etherpad-lite\src\static\js\pluginfw> LinkInstaller.ts - constructor() { - this.livePluginManager = new PluginManager({ - //增加 插件拉不下来问题解决。 - npmRegistryUrl: 'https://registry.npmmirror.com/', - pluginsPath: pluginInstallPath, - hostRequire: undefined, - cwd: path.join(settings.root, 'src') - }); - this.dependenciesMap = new Map(); + etherpad-lite\admin\src\localization>i18n.ts + // 修改 + fallbackLng: 'zh-hans' + + 前台中文设置。搜索lang,改成 + lang = 'zh-hans' +修改源修改文件 + etherpad-lite\src\static\js\pluginfw> LinkInstaller.ts + + constructor() { + this.livePluginManager = new PluginManager({ + //增加 插件拉不下来问题解决。 + npmRegistryUrl: 'https://registry.npmmirror.com/', + pluginsPath: pluginInstallPath, + hostRequire: undefined, + cwd: path.join(settings.root, 'src') + }); + this.dependenciesMap = new Map(); } \ No newline at end of file