在README.md中添加语言切换链接,支持中文和英文版本,提升用户友好性

This commit is contained in:
jxxghp
2025-04-29 19:47:01 +08:00
parent b6bb3691f0
commit 530174ff79
2 changed files with 43 additions and 0 deletions

41
README_EN.md Normal file
View File

@@ -0,0 +1,41 @@
# MoviePilot-Frontend
*[中文](README.md) | English*
Frontend project for [MoviePilot](https://github.com/jxxghp/MoviePilot), NodeJS version: >= `v20.12.1`.
## Recommended IDE Setup
[VSCode](https://code.visualstudio.com/) + [Volar](https://marketplace.visualstudio.com/items?itemName=johnsoncodehk.volar) (disable Vetur).
## Vite Configuration
Please refer to [Vite Configuration Reference](https://vitejs.dev/config/).
## Installation
```sh
yarn
```
### Development
```sh
yarn dev
```
### Build
```sh
yarn build
```
### Production Deployment
1. Use `nginx` or other web servers to host the `dist` static files. See `public/nginx.conf` for nginx configuration reference.
2. Use `node` command to run `service.js` directly. It listens on port `3000` by default. Set the environment variable `NGINX_PORT` to adjust the port.
```shell
node dist/service.js
```