# Web OS Server **Repository Path**: mikenchen/web-os-server ## Basic Information - **Project Name**: Web OS Server - **Description**: 使用NodeJS搭建的Express服务 - **Primary Language**: NodeJS - **License**: GPL-3.0 - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 1 - **Forks**: 1 - **Created**: 2025-01-20 - **Last Updated**: 2025-02-11 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # web-os-server #### 介绍 使用NodeJS搭建的Express服务 客户端地址:[https://gitee.com/mikenchen/web-os-client](https://gitee.com/mikenchen/web-os-client) #### 软件架构 | 依赖包 | 说明 | |----------|--------| | Express | API服务 | | node-pty | 提供终端服务 | #### 安装教程 ``` 1. git clone https://gitee.com/mikenchen/web-os-server.git 2. cd web-os-server 3. pnpm install 4. pnpm run start 或 pnpm run start:win ```` #### 前端代码 ``` 1. git clone https://gitee.com/mikenchen/web-os-client.git 2. cd web-os-client 3. pnpm install 4. pnpm run dev ```` #### 使用说明 1. [node-pty](https://www.npmjs.com/package/node-pty)安装比较麻烦,windows需要安装windows-build-tools,如果不需要使用terminal终端,可屏蔽相关依赖包和代码入口 ``` npm install --global --production windows-build-tools ``` 2. windows下,如果terminal终端出现乱码,可在启动脚本加入 **chcp 65001**