Skip to content

Commit

Permalink
Update termux.md
Browse files Browse the repository at this point in the history
  • Loading branch information
Hanasaki authored Apr 1, 2023
1 parent 4cdc31c commit 52ce44c
Showing 1 changed file with 9 additions and 4 deletions.
13 changes: 9 additions & 4 deletions apps/server/src/docs/termux.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,13 +15,18 @@ apt-get update && apt-get upgrade
运行下面命令安装 NodeJs 和 Git

```bash
pkg install nodejs-lts git
pkg install nodejs git
```

完成后,如果安装成功,在 Termux 中输入 `node -v` 将显示安装的 Node 版本。

此时,Node环境已经配置好。之后的步骤就是拉取项目,运行项目了,请回到[主页](https://github.com/miaochenxi/chaoxing-sign-cli)查看如何操作。
开启 corepack 并安装 pnpm

## 截图
```bash
corepack enable
corepack prepare pnpm@latest --activate
```

此时,Node 环境已经配置好。之后的步骤就是拉取项目,运行项目了,请回到[主页](https://github.com/cxOrz/chaoxing-sign-cli)查看如何操作。

<img src="https://636c-cloudbase-1a4211-1252446325.tcb.qcloud.la/chaoxing-sign-cli/termux.png?sign=bfc518a34929722749e627538837e99c&t=1648568993" width="450px">
> 安卓环境下无法安装 turbo 依赖,需先移除它 `pnpm remove turbo`,再运行 `pnpm install` 即可正常完成其他依赖安装。这种情况下无法在根目录运行命令,需要进入 `apps/server``apps/web` 来运行对应项目的命令。

0 comments on commit 52ce44c

Please sign in to comment.