Skip to content

Commit

Permalink
update docs. [skip CI]
Browse files Browse the repository at this point in the history
  • Loading branch information
pigpigyyy committed Jul 12, 2024
1 parent d17c61b commit c5228fe
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 6 deletions.
12 changes: 9 additions & 3 deletions Docs/docs/tutorial/dev-configuration.md
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ git clone https://github.com/ippclub/Dora-SSR.git

### Linux

#### Ubuntu
#### Ubuntu, Debian

1. Manually generate Lua bindings.
```sh
Expand All @@ -69,7 +69,7 @@ git clone https://github.com/ippclub/Dora-SSR.git
```
2. Install dependent packages.
```sh
sudo apt-get install -y libsdl2-dev libgl1-mesa-dev x11proto-core-dev libx11-dev
sudo apt-get install -y libsdl2-dev libgl1-mesa-dev libssl-dev
```
3. Run the compile scripts.

Expand All @@ -96,14 +96,17 @@ git clone https://github.com/ippclub/Dora-SSR.git
```sh
cd Assets
../Projects/Linux/build/dora-ssr

# Or specify the resource directory with command line arguments
Projects/Linux/build/dora-ssr --asset Assets
```

#### ArchLinux

1. Install dependent packages.

```sh
sudo pacman -S lua51 luarocks sdl2 gcc make cmake --needed
sudo pacman -S lua51 luarocks sdl2 openssl gcc make cmake --needed
# Because the lua version must be 5.1,you need to use lua 5.1 instead of the newest version of lua
# The easiest way is using 'ln' to create a soft link
sudo ln -s /usr/bin/lua5.1 /usr/local/bin/lua
Expand Down Expand Up @@ -142,6 +145,9 @@ git clone https://github.com/ippclub/Dora-SSR.git
```sh
cd Assets
../Projects/Linux/build/dora-ssr

# Or specify the resource directory with command line arguments
Projects/Linux/build/dora-ssr --asset Assets
```

## 3. Web IDE Development
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ git clone https://github.com/ippclub/Dora-SSR.git

### Linux

#### Ubuntu
#### Ubuntu, Debian

1. 手动生成 Lua 绑定。
```sh
Expand All @@ -70,7 +70,7 @@ git clone https://github.com/ippclub/Dora-SSR.git

2. 安装依赖包。
```sh
sudo apt-get install -y libsdl2-dev libgl1-mesa-dev x11proto-core-dev libx11-dev
sudo apt-get install -y libsdl2-dev libgl1-mesa-dev libssl-dev
```

3. 运行编译脚本。
Expand Down Expand Up @@ -98,14 +98,17 @@ git clone https://github.com/ippclub/Dora-SSR.git
```sh
cd Assets
../Projects/Linux/build/dora-ssr

# 或者用命令行参数指定资源目录
Projects/Linux/build/dora-ssr --asset Assets
```

#### ArchLinux

1. 安装依赖包。

```sh
sudo pacman -S lua51 luarocks sdl2 gcc make cmake --needed
sudo pacman -S lua51 luarocks sdl2 openssl gcc make cmake --needed
# 因为lua的版本必须是5.1,你需要使用lua5.1而不是最新的lua
# 最简单的方法是用ln创建一个软链接
sudo ln -s /usr/bin/lua5.1 /usr/local/bin/lua
Expand Down Expand Up @@ -144,6 +147,9 @@ git clone https://github.com/ippclub/Dora-SSR.git
```sh
cd Assets
../Projects/Linux/build/dora-ssr

# 或者用命令行参数指定资源目录
Projects/Linux/build/dora-ssr --asset Assets
```

## 三、进行 Web IDE 的开发和运行
Expand Down

0 comments on commit c5228fe

Please sign in to comment.