Skip to content

Commit

Permalink
docs: move usage section ahead (#11)
Browse files Browse the repository at this point in the history
  • Loading branch information
wy-luke authored Aug 29, 2023
1 parent 140ee05 commit e1b0653
Show file tree
Hide file tree
Showing 2 changed files with 43 additions and 43 deletions.
36 changes: 18 additions & 18 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,24 @@

Assist you in **quickly and effortlessly** installing the Stable Diffusion web UI on your Mac.

## Usage

1. In the **Applications** folder, locate **Terminal** <img src="./images/terminal.png" alt="terminal" width="25"/> and open it.

2. Copy the following command to the **terminal**, press the **Enter key** to execute the command, and the installation will start automatically. Just wait for the installation to complete.

```bash
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/wy-luke/StableDiffusion-Installer-For-Mac/main/sd-installer.sh)"
```

3. ~~If prompted to input, simply press the **Enter key** and **only** that.~~

4. If you see similar content below, it indicates a successful installation.

![success](images/success.png)

5. Open your web browser and enter `http://127.0.0.1:7860` (the underlined part in the image above) to access the Stable Diffusion web UI.

## Features

1. Use [Homebrew](https://brew.sh/) to install required dependencies. If you already have it installed, it will be used automatically. If not, it will be installed for you, but without modifying your system environment – your system will remain unchanged.
Expand Down Expand Up @@ -43,21 +61,3 @@ Assist you in **quickly and effortlessly** installing the Stable Diffusion web U
/opt/homebrew/bin/micromamba shell init -s bash -p ~/micromamba
source ~/.bashrc
```

## Steps

1. In the **Applications** folder, locate **Terminal** <img src="./images/terminal.png" alt="terminal" width="25"/> and open it.

2. Copy the following command to the **terminal**, press the **Enter key** to execute the command, and the installation will start automatically. Just wait for the installation to complete.

```bash
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/wy-luke/StableDiffusion-Installer-For-Mac/main/sd-installer.sh)"
```

3. ~~If prompted to input, simply press the **Enter key** and **only** that.~~

4. If you see similar content below, it indicates a successful installation.

![success](images/success.png)

5. Open your web browser and enter `http://127.0.0.1:7860` (the underlined part in the image above) to access the Stable Diffusion web UI.
50 changes: 25 additions & 25 deletions README_CN.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,31 @@

帮助你**快速、轻松**地将 Stable Diffusion web UI 安装在你的 mac 上。

## 特性
## 使用

1.**应用程序**中,找到**终端** <img src="./images/terminal.png" alt="terminal" width="25"/> 并打开

2. 复制下面的命令到**终端**中,按**回车键**执行命令,然后安装就会自动开始,只需等待安装完成

```bash
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/wy-luke/StableDiffusion-Installer-For-Mac/main/sd-installer.sh)"
```

国内用户网络不好时,可以尝试使用以下命令,但是后续安装可能也会由于网络原因失败,建议先解决网络问题。

```bash
/bin/bash -c "$(curl -fsSL https://raw.fastgit.org/wy-luke/StableDiffusion-Installer-For-Mac/main/sd-installer.sh)"
```

3. ~~如果提示输入,需且**只需****回车键**~~

4. 如果出现类似下面的内容,即为安装成功

![success](images/success.png)

5. 打开浏览器,输入 `http://127.0.0.1:7860`(即上图划线部分),即可打开 Stable Diffusion web UI

## 优势

1. 使用 [Homebrew](https://brew.sh/) 来安装所需的依赖。如果已经安装,将会自动使用;如果没有,将会自动安装,但不会修改你的系统环境,你的系统将保持不变。

Expand Down Expand Up @@ -41,27 +65,3 @@
/opt/homebrew/bin/micromamba shell init -s bash -p ~/micromamba
source ~/.bashrc
```

## 使用

1.**应用程序**中,找到**终端** <img src="./images/terminal.png" alt="terminal" width="25"/> 并打开

2. 复制下面的命令到**终端**中,按**回车键**执行命令,然后安装就会自动开始,只需等待安装完成

```bash
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/wy-luke/StableDiffusion-Installer-For-Mac/main/sd-installer.sh)"
```

国内用户网络不好时,可以尝试使用以下命令,但是后续安装可能也会由于网络原因失败,建议先解决网络问题。

```bash
/bin/bash -c "$(curl -fsSL https://raw.fastgit.org/wy-luke/StableDiffusion-Installer-For-Mac/main/sd-installer.sh)"
```

3. ~~如果提示输入,需且**只需****回车键**~~

4. 如果出现类似下面的内容,即为安装成功

![success](images/success.png)

5. 打开浏览器,输入 `http://127.0.0.1:7860`(即上图划线部分),即可打开 Stable Diffusion web UI

0 comments on commit e1b0653

Please sign in to comment.