mirror of
https://github.com/ether/etherpad-lite.git
synced 2025-05-04 06:09:14 -04:00
974 B
974 B
- Download the latest Node.js runtime from nodejs.org.
- Install pnpm:
npm install -g pnpm
(Administrator privileges may be required). - Clone the repository:
git clone -b master
- Run
pnpm i
- Run
pnpm run build:etherpad
- Run
pnpm run prod
- Visit
http://localhost:9001
in your browser.
后台中文设置,找到文件
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();
}