mirror of
https://github.com/CherryHQ/cherry-studio.git
synced 2025-12-20 07:00:09 +08:00
- Introduced a new English version of the contributor guide (CONTRIBUTING_EN.md) to enhance accessibility for non-Chinese speakers. - Updated issue templates to use more specific labels (kind/bug, kind/enhancement, kind/question) for better categorization. - Added a testing section in the developer guide to clarify testing procedures.
58 lines
719 B
Markdown
58 lines
719 B
Markdown
# 🖥️ Develop
|
|
|
|
## IDE Setup
|
|
|
|
[Cursor](https://www.cursor.com/) + [ESLint](https://marketplace.visualstudio.com/items?itemName=dbaeumer.vscode-eslint) + [Prettier](https://marketplace.visualstudio.com/items?itemName=esbenp.prettier-vscode)
|
|
|
|
## Project Setup
|
|
|
|
### Install
|
|
|
|
```bash
|
|
yarn
|
|
```
|
|
|
|
### Development
|
|
|
|
### Setup Node.js
|
|
|
|
Download and install [Node.js v20.x.x](https://nodejs.org/en/download)
|
|
|
|
### Setup Yarn
|
|
|
|
```bash
|
|
corepack enable
|
|
corepack prepare yarn@4.6.0 --activate
|
|
```
|
|
|
|
### Install Dependencies
|
|
|
|
```bash
|
|
yarn install
|
|
```
|
|
|
|
### Start
|
|
|
|
```bash
|
|
yarn dev
|
|
```
|
|
|
|
### Test
|
|
|
|
```bash
|
|
yarn test
|
|
```
|
|
|
|
### Build
|
|
|
|
```bash
|
|
# For windows
|
|
$ yarn build:win
|
|
|
|
# For macOS
|
|
$ yarn build:mac
|
|
|
|
# For Linux
|
|
$ yarn build:linux
|
|
```
|