mirror of
https://github.com/komari-monitor/komari.git
synced 2025-10-23 03:31:56 +00:00
Frontend Build Instructions / 前端构建说明 / フロントエンド構築手順
English
Frontend Repository
- Frontend project repository: https://github.com/komari-monitor/komari-web
Build Requirements
- Clone the frontend repository and build the static files
- Copy the generated static files to the
dist
folder in the Komari backend project root directory - Ensure the
dist
folder containsindex.html
Important Note
⚠️ The projects under Akizon77's personal repository are no longer maintained. Please use the projects under the organization (komari-monitor).
中文
前端项目仓库
构建要求
- 克隆前端仓库并构建静态文件
- 将生成的静态文件复制到 Komari 后端项目根目录下的
dist
文件夹 - 确保
dist
文件夹内包含index.html
重要提醒
⚠️ Akizon77 个人仓库的项目已经不再使用,请使用组织(komari-monitor)下的项目。
日本語
フロントエンドプロジェクトリポジトリ
- フロントエンドプロジェクトアドレス: https://github.com/komari-monitor/komari-web
ビルド要件
- フロントエンドリポジトリをクローンして静的ファイルをビルドする
- 生成された静的ファイルを Komari バックエンドプロジェクトのルートディレクトリ下の
dist
フォルダーにコピーする dist
フォルダー内にindex.html
が含まれていることを確認する
重要な注意事項
⚠️ Akizon77 の個人リポジトリのプロジェクトは使用されなくなりました。組織(komari-monitor)下のプロジェクトを使用してください。
Quick Setup / 快速设置 / クイックセットアップ
# Clone frontend repository / 克隆前端仓库 / フロントエンドリポジトリをクローン
git clone https://github.com/komari-monitor/komari-web
cd komari-web
# Install dependencies and build / 安装依赖并构建 / 依存関係をインストールしてビルド
npm install
npm run build
# Copy dist folder to Komari backend project / 将 dist 文件夹复制到 Komari 后端项目 / dist フォルダーを Komari バックエンドプロジェクトにコピー
cp -r dist /path/to/komari/public/