mirror of
https://github.com/CherryHQ/cherry-studio.git
synced 2025-12-19 14:41:24 +08:00
- Introduced a new .env.example file with NODE_OPTIONS configuration. - Updated .gitignore to exclude .env.example from being ignored. - Added instructions in dev.md for copying .env.example to .env.
839 B
839 B
🖥️ Develop
IDE Setup
Project Setup
Install
yarn
Development
Setup Node.js
Download and install Node.js v20.x.x
Setup Yarn
corepack enable
corepack prepare yarn@4.6.0 --activate
Install Dependencies
yarn install
ENV
copy .env.example .env
Start
yarn dev
Debug
yarn debug
Then input chrome://inspect in browser
Test
yarn test
Build
# For windows
$ yarn build:win
# For macOS
$ yarn build:mac
# For Linux
$ yarn build:linux