Skip to content
This repository has been archived by the owner on Aug 15, 2023. It is now read-only.

Commit

Permalink
Revert "将 node 纳管起来,Ref #760 Ref #766"
Browse files Browse the repository at this point in the history
This reverts commit ba073aa.
  • Loading branch information
Arondight committed Mar 30, 2022
1 parent ba073aa commit f873f58
Show file tree
Hide file tree
Showing 3 changed files with 105 additions and 173 deletions.
6 changes: 4 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@

本项目提供了一个在 QQ 中运行的原神助手,与之聊天可以方便地查询玩家数据和游戏信息、模拟抽卡、模拟刷圣遗物,以及一些其他的[功能](https://github.com/Arondight/Adachi-BOT#%E5%8A%9F%E8%83%BD)[原项目](https://github.com/SilveryStar/Adachi-BOT)[该版本](https://github.com/SilveryStar/Adachi-BOT/tree/ver1.4.6)已经不再维护,此项目当前会持续更新。

**本项目仅供学习交流技术使用,严禁用于任何商业用途和非法行为!**
请抵制任何形式使用该项目盈利的行为,如有需要请自行(或与朋友共同)搭建一个。如果你很喜欢本项目可以去[打赏原作者](https://afdian.net/@SilveryStar),我不需要赞助。

### 文档

Expand Down Expand Up @@ -34,14 +34,16 @@

#### 准备环境

首先你需要有可用的 `npm``npx` 命令
首先你需要有一份较新的 [Node.js](https://nodejs.org/en/download/) ,本项目不兼容较旧版本的 Node.js

```sh
echo 'export N_NODE_MIRROR="https://mirrors.ustc.edu.cn/node/"' | tee -a ~/.bashrc
echo 'export N_NODE_DOWNLOAD_MIRROR="https://mirrors.ustc.edu.cn/node/"' | tee -a ~/.bashrc
source ~/.bashrc

curl -fsSL https://raw.githubusercontent.com/tj/n/master/bin/n | sudo -E bash -s lts
sudo --preserve-env=PATH env npm install -g n
sudo --preserve-env=PATH env n lts
```

> 1. 建议提供一个内存和交换空间容量**总和**达到 `1.5 GiB` 的 Linux 环境进行部署,以运行无头浏览器。
Expand Down
Loading

0 comments on commit f873f58

Please sign in to comment.