Change README

This commit is contained in:
fanchenio 2023-11-08 16:45:35 +08:00
parent e91dcdfbdb
commit 21cddb6d00
2 changed files with 12 additions and 10 deletions

View File

@ -20,11 +20,12 @@ Supports associated folders (real-time synchronization of folder contents), quic
# Compilation Steps # Compilation Steps
1. First you need to install `node-gyp`, which is needed to compile local modules. 1. Install `node-gyp`, required to compile SQLite3.
2. Then run `yarn install` to install the project dependencies (if you modify the `Rust` code, you need to re-run `yarn install`). 2. Install the `Rust` environment + `Cargo`, which is needed to compile Rust.
3. `yarn run dev` runs the project locally. 3. Then run `yarn install` to install the project dependencies (if you modify the `Rust` code, you need to re-run `yarn install`).
4. `yarn run build` packages the project. 4. `yarn run dev` runs the project locally.
5. The portable version and the installation version need to be packaged twice. By modifying `VITE_INSTALL` in `.env.production`, `true` means the installation version and `false` means the portable version. 5. `yarn run build` packages the project.
6. The portable version and the installation version need to be packaged twice. By modifying `VITE_INSTALL` in `.env.production`, `true` means the installation version and `false` means the portable version.
# Official Website # Official Website

View File

@ -20,11 +20,12 @@
# 编译步骤 # 编译步骤
1. 首先需要安装`node-gyp`,编译本地模块需要用到。 1. 安装`node-gyp`,编译 SQLite3 需要。
2. 然后运行`yarn install`安装项目依赖(如果修改了`Rust`代码也需要重新运行`yarn install`)。 2. 安装`Rust`环境 + `Cargo`,编译 Rust 需要。
3. `yarn run dev`本地运行项目。 3. 然后运行`yarn install`安装项目依赖(如果修改了`Rust`代码也需要重新运行`yarn install`)。
4. `yarn run build`打包项目。 4. `yarn run dev`本地运行项目。
5. 便携版和安装版需要分两次打包,通过修改`.env.production`中的`VITE_INSTALL``true`为安装版,`false`为便携版。 5. `yarn run build`打包项目。
6. 便携版和安装版需要分两次打包,通过修改`.env.production`中的`VITE_INSTALL``true`为安装版,`false`为便携版。
# 官网 # 官网