thelounge
v4.4.3
網站 • 文件 • 演示 • Docker
要了解有關 The Lounge 的配置、使用和功能的更多信息,請訪問該網站。
The Lounge 是由 Mattias Erming 開發的 Shout 官方和社群管理的分支。
Lounge 需要最新的 Node.js LTS 版本或更高版本。也推薦使用 Yarn 套件管理器。如果您想使用 npm 安裝,則需要--unsafe-perm
才能正確安裝。
請參閱我們網站上的安裝和升級文檔,以了解所有可用的安裝方法。
以下命令安裝並執行 The Lounge 的開發版本:
git clone https://github.com/thelounge/ thelounge .git
cd thelounge
yarn install
NODE_ENV=production yarn build
yarn start
像這樣安裝時,不會建立thelounge
可執行檔。使用node index <command>
執行命令。
只需按照說明在您自己的 fork 上從上面的源代碼運行 The Lounge 即可。
在提交任何更改之前,請確保:
yarn test
來執行linter和測試套件yarn format:prettier
client/js
或client/components
中更改或新增任何內容,請執行yarn build:client
public/
server/
中的任何內容,請執行yarn build:server
dist/
yarn dev
可用於透過熱模組重新載入來啟動 The Lounge為了確保您不會提交無法通過 linting 的文件,您可以安裝預先提交 git hook。執行yarn githooks-install
來執行此操作。