Files
oxygen-ui/README_zh.md

1.7 KiB
Raw Blame History

Logo
Web UI of Oxygen Toolbox

概述 (ZH, EN)

本项目为 Oxygen Toolbox 的网页 UI需配合后端 API 使用。

环境要求

  • Web 服务器(如 Nginx, Apache httpd

关联项目

API of Oxygen Toolbox

Desktop Client of Oxygen Toolbox

Android Client of Oxygen Toolbox

快速开始

1. 从 Releases 页面下载最后打包的生产版本

2. 将文件 oxygen-ui-*.tar.gzoxygen-ui-*.zip 上传到 Web 服务器并解压

3. 配置伪静态

Nginx:

server {
    ...
    
    index index.html
    
    location / {
        try_files $uri $uri/ /index.html;
    }
    
    ...
}

Apache httpd (.htaccess):

<IfModule mod_rewrite.c>
  RewriteEngine On
  RewriteBase /
  RewriteRule ^index\.html$ - [L]
  RewriteCond %{REQUEST_FILENAME} !-f
  RewriteCond %{REQUEST_FILENAME} !-d
  RewriteRule . /index.html [L]
</IfModule>