mirror of
https://github.com/ether/etherpad-lite.git
synced 2025-04-21 16:06:16 -04:00
说明更新
This commit is contained in:
parent
a5cf527e8d
commit
a9a4bb2313
1 changed files with 61 additions and 24 deletions
85
编译说明.md
85
编译说明.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();
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue