Skip to content

Commit

Permalink
guide
Browse files Browse the repository at this point in the history
  • Loading branch information
ViggoZ committed Jul 10, 2024
1 parent 02b1619 commit 43b4d15
Show file tree
Hide file tree
Showing 6 changed files with 8 additions and 8 deletions.
8 changes: 4 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,29 +16,29 @@ Pintree is an open-source project that aims to convert browser bookmarks into a

1. Install the [Pintree Bookmarks Exporter](https://chromewebstore.google.com/detail/pintree-bookmarks-exporte/mjcglnkikjidokobpfdcdmcnfdicojce) extension.
2. Use the extension to export browser bookmarks and save the JSON file locally.
![](https://github.com/Pintree-io/pintree/blob/main/assets/step1.png)
![](https://github.com/Pintree-io/pintree/blob/main/assets/guide/step1.png)

### Step 2: Fork the Project

1. Visit the [Pintree GitHub repository](https://github.com/Pintree-io/pintree).
2. Click the `Fork` button in the upper right corner of the page to fork the project to your GitHub account.
![](https://github.com/Pintree-io/pintree/blob/main/assets/step2.png)
![](https://github.com/Pintree-io/pintree/blob/main/assets/guide/step2.png)

### Step 3: Replace the JSON File

1. Open the `pintree` repository in your GitHub account (the one you just forked).
2. Click on the `json` folder in the repository.
3. Click the `Upload files` button, select the JSON file you downloaded earlier, and upload it.
4. Make sure the uploaded file is named `pintree.json`, and select `Commit changes`.
![](https://github.com/Pintree-io/pintree/blob/main/assets/step3.png)
![](https://github.com/Pintree-io/pintree/blob/main/assets/guide/step3.png)

### Step 4: Enable GitHub Pages

1. In your `pintree` repository page, click on `Settings`.
2. Find the `Pages` option.
3. In the `Source` dropdown menu, select the `gh-pages` branch and click `Save`.
4. After a few minutes, your static website will be available at `https://yourusername.github.io/pintree`. Remember to replace `yourusername`.
![](https://github.com/Pintree-io/pintree/blob/main/assets/step4.png)
![](https://github.com/Pintree-io/pintree/blob/main/assets/guide/step4.png)

---

Expand Down
8 changes: 4 additions & 4 deletions README.zh.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,29 +16,29 @@ Pintree 是一个开源项目,旨在将浏览器书签导出成导航网站。

1. 安装 [Pintree Bookmarks Exporter](https://chromewebstore.google.com/detail/pintree-bookmarks-exporte/mjcglnkikjidokobpfdcdmcnfdicojce) 插件。
2. 使用插件导出浏览器书签,并保存 JSON 文件到本地。
![](https://github.com/Pintree-io/pintree/blob/main/assets/step1.png)
![](https://github.com/Pintree-io/pintree/blob/main/assets/guide/step1.png)

### 步骤 2:Fork 项目

1. 访问 [Pintree GitHub 仓库](https://github.com/Pintree-io/pintree)
2. 点击页面右上角的 `Fork` 按钮,将项目 Fork 到您的 GitHub 账号中。
![](https://github.com/Pintree-io/pintree/blob/main/assets/step2.png)
![](https://github.com/Pintree-io/pintree/blob/main/assets/guide/step2.png)

### 步骤 3:替换 JSON 文件

1. 打开您 GitHub 账号中的 `pintree` 仓库(即刚才 Fork 的项目)。
2. 点击仓库中的 `json` 文件夹。
3. 点击 `Upload files` 按钮,选择刚才下载的 JSON 文件,并上传。
4. 确保上传的文件命名为 `pintree.json`,并选择 `Commit changes`
![](https://github.com/Pintree-io/pintree/blob/main/assets/step3.png)
![](https://github.com/Pintree-io/pintree/blob/main/assets/guide/step3.png)

### 步骤 4:启用 GitHub Pages

1. 在您的 `pintree` 仓库页面,点击 `Settings`
2. 找到 `Pages` 选项。
3.`Source` 下拉菜单中,选择 `gh-pages` 分支,然后点击 `Save`
4. 几分钟后,您的静态网站将会在 `https://yourusername.github.io/pintree` 上可用。记得替换 `yourusername`
![](https://github.com/Pintree-io/pintree/blob/main/assets/step4.png)
![](https://github.com/Pintree-io/pintree/blob/main/assets/guide/step4.png)

---

Expand Down
Binary file removed assets/guide/step1.png
Binary file not shown.
Binary file removed assets/guide/step2.png
Binary file not shown.
Binary file removed assets/guide/step3.png
Binary file not shown.
Binary file removed assets/guide/step4.png
Binary file not shown.

0 comments on commit 43b4d15

Please sign in to comment.