Skip to content

Commit

Permalink
#54, change the path of image to optimize the access (#55)
Browse files Browse the repository at this point in the history
  • Loading branch information
ZhengshuaiPENG authored Dec 16, 2021
1 parent 29a8544 commit ac975a0
Show file tree
Hide file tree
Showing 8 changed files with 56 additions and 56 deletions.
8 changes: 4 additions & 4 deletions byzer-notebook/en-us/introduction/get_started.md
Original file line number Diff line number Diff line change
Expand Up @@ -46,23 +46,23 @@ Next, we will demonstrate the entire quick installation process through examples

`docker pull allwefantasy/mlsql-sandbox:3.1.1-2.2.0`

![fetch_image](https://raw.githubusercontent.com/byzer-org/byzer-doc/main/byzer-notebook/en-us/introduction/images/fetch_sandbox_image.png)
![fetch_image](/byzer-notebook/en-us/introduction/images/fetch_sandbox_image.png)

2. Run Container

`docker run -d --name byzer-sandbox -p 9002:9002 -p 9003:9003 -p 3306:3306 -e MYSQL_ROOT_PASSWORD=root allwefantasy/mlsql-sandbox:3.1.1-2.2.0`

![run_container](https://raw.githubusercontent.com/byzer-org/byzer-doc/main/byzer-notebook/en-us/introduction/images/run_sandbox_container.png)
![run_container](/byzer-notebook/en-us/introduction/images/run_sandbox_container.png)

3. Visit in Browser

Visit `http://localhost:9002`

![visit_notebook](https://raw.githubusercontent.com/byzer-org/byzer-doc/main/byzer-notebook/en-us/introduction/images/visit_notebook.png)
![visit_notebook](/byzer-notebook/en-us/introduction/images/visit_notebook.png)

Enter the account password: admin/admin, and start exploring Byzer Notebook.

![explore_notebook](https://raw.githubusercontent.com/byzer-org/byzer-doc/main/byzer-notebook/en-us/introduction/images/explore_notebook_en.png)
![explore_notebook](/byzer-notebook/en-us/introduction/images/explore_notebook_en.png)



Expand Down
10 changes: 5 additions & 5 deletions byzer-notebook/en-us/introduction/online_trial.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ Before starting the trial, please make sure that you have successfully registere
##### 1.1 Create file

<p align="center">
<img src="https://raw.githubusercontent.com/byzer-org/byzer-doc/main/byzer-notebook/en-us/introduction/images/Workspace_create.png" alt="name" width="250"/>
<img src="/byzer-notebook/en-us/introduction/images/Workspace_create.png" alt="name" width="250"/>
</p>

You can view all project files in the work area list. You can create **notebook** files, **workflow** files and **folders** by clicking ➕ on the right side of **workspace**. You can also import local **notebook** files (.mlnb) and **workflow** files (.mlwf) through **import**.
Expand All @@ -27,7 +27,7 @@ You can view all project files in the work area list. You can create **notebook*
##### 1.2 Manipulate files

<p align="center">
<img src="https://raw.githubusercontent.com/byzer-org/byzer-doc/main/byzer-notebook/en-us/introduction/images/Workspace_edit.png" alt="drawing" width="250"/>
<img src="/byzer-notebook/en-us/introduction/images/Workspace_edit.png" alt="drawing" width="250"/>
</p>

Click the buoy on the right side of the project file, you can perform operations such as **clone**, **move**, **rename**, **delete** on the file.
Expand All @@ -44,7 +44,7 @@ Byzer Notebook supports one-stop access of multiple data source types.
The online trial environment currently only supports the import and storage of Delta lake and HDFS data sources.

<p align="center">
<img src="https://raw.githubusercontent.com/byzer-org/byzer-doc/main/byzer-notebook/en-us/introduction/images/catalog.png" alt="drawing" width="250"/>
<img src="/byzer-notebook/en-us/introduction/images/catalog.png" alt="drawing" width="250"/>
</p>


Expand All @@ -57,7 +57,7 @@ The online trial environment currently only supports the import and storage of D
##### 3.1 Edit Notebook

<p align="center">
<img src="https://raw.githubusercontent.com/byzer-org/byzer-doc/main/byzer-notebook/en-us/introduction/images/toolbar.png" alt="drawing" width="800"/>
<img src="/byzer-notebook/en-us/introduction/images/toolbar.png" alt="drawing" width="800"/>
</p>

In the **workspace**, click the corresponding **notebook** to enter the dedicated workspace for the project file.
Expand All @@ -66,7 +66,7 @@ You can use the buttons in the **toolbar** at the top of the notebook workspace
##### 3.2 Run the notebook

<p align="center">
<img src="https://raw.githubusercontent.com/byzer-org/byzer-doc/main/byzer-notebook/en-us/introduction/images/run_button.png" alt="drawing" width="800"/>
<img src="/byzer-notebook/en-us/introduction/images/run_button.png" alt="drawing" width="800"/>
</p>

Both the upper right corner of the cell and the upper toolbar provide a run button, and the toolbar also provides a global run button.
Expand Down
8 changes: 4 additions & 4 deletions byzer-notebook/zh-cn/introduction/get_started.md
Original file line number Diff line number Diff line change
Expand Up @@ -46,23 +46,23 @@

`docker pull allwefantasy/mlsql-sandbox:3.1.1-2.2.0`

![fetch_image](https://raw.githubusercontent.com/byzer-org/byzer-doc/main/byzer-notebook/zh-cn/introduction/images/fetch_sandbox_image.png)
![fetch_image](/byzer-notebook/zh-cn/introduction/images/fetch_sandbox_image.png)

2. 运行容器

`docker run -d --name byzer-sandbox -p 9002:9002 -p 9003:9003 -p 3306:3306 -e MYSQL_ROOT_PASSWORD=root allwefantasy/mlsql-sandbox:3.1.1-2.2.0`

![run_container](https://raw.githubusercontent.com/byzer-org/byzer-doc/main/byzer-notebook/zh-cn/introduction/images/run_sandbox_container.png)
![run_container](/byzer-notebook/zh-cn/introduction/images/run_sandbox_container.png)


3. 浏览器访问

访问 `http://localhost:9002`

![visit_notebook](https://raw.githubusercontent.com/byzer-org/byzer-doc/main/byzer-notebook/zh-cn/introduction/images/visit_notebook.png)
![visit_notebook](/byzer-notebook/zh-cn/introduction/images/visit_notebook.png)

输入账号密码: admin/admin,开始探索 Byzer Notebook 吧。

![explore_notebook](https://raw.githubusercontent.com/byzer-org/byzer-doc/main/byzer-notebook/zh-cn/introduction/images/explore_notebook_cn.png)
![explore_notebook](/byzer-notebook/zh-cn/introduction/images/explore_notebook_cn.png)


20 changes: 10 additions & 10 deletions byzer-notebook/zh-cn/introduction/online_trial.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,19 +11,19 @@
点击官网主页上的 **在线试用**

<p align="center">
<img src="https://raw.githubusercontent.com/byzer-org/byzer-doc/main/byzer-notebook/zh-cn/introduction/images/online_trial.png" alt="name" width="800"/>
<img src="/byzer-notebook/zh-cn/introduction/images/online_trial.png" alt="name" width="800"/>
</p>

填写基本信息注册并点击 **创建账号**

<p align="center">
<img src="https://raw.githubusercontent.com/byzer-org/byzer-doc/main/byzer-notebook/zh-cn/introduction/images/register.png" alt="name" width="800"/>
<img src="/byzer-notebook/zh-cn/introduction/images/register.png" alt="name" width="800"/>
</p>

通过邮箱中的链接验证后,您就可以进入到准备区,点击 **开始试用** 开始体验之旅。

<p align="center">
<img src="https://raw.githubusercontent.com/byzer-org/byzer-doc/main/byzer-notebook/zh-cn/introduction/images/start_trial.png" alt="name" width="800"/>
<img src="/byzer-notebook/zh-cn/introduction/images/start_trial.png" alt="name" width="800"/>
</p>

### 快速开始
Expand All @@ -33,7 +33,7 @@
##### 1.1 创建文件

<p align="center">
<img src="https://raw.githubusercontent.com/byzer-org/byzer-doc/main/byzer-notebook/zh-cn/introduction/images/Workspace_create.png" alt="name" width="250"/>
<img src="/byzer-notebook/zh-cn/introduction/images/Workspace_create.png" alt="name" width="250"/>
</p>

您可在工作区列表查看所有项目文件。您可通过点击 **工作区** 右侧的 ➕ 创建 **笔记本** 文件、**工作流** 文件和 **文件夹**。也可通过 **导入** 导入本地的 **笔记本** 文件(.mlnb)和 **工作流** 文件(.mlwf)。
Expand All @@ -43,7 +43,7 @@
##### 1.2 操作文件

<p align="center">
<img src="https://raw.githubusercontent.com/byzer-org/byzer-doc/main/byzer-notebook/zh-cn/introduction/images/Workspace_edit.png" alt="drawing" width="250"/>
<img src="/byzer-notebook/zh-cn/introduction/images/Workspace_edit.png" alt="drawing" width="250"/>
</p>

点击项目文件右侧浮标,可以对文件进行 **克隆****移动****重命名****删除** 等操作。
Expand All @@ -60,7 +60,7 @@ Byzer Notebook 支持多种数据源类型的一站式接入。
线上试用的环境目前仅支持 Delta lake 和 HDFS 数据源的导入和存储。

<p align="center">
<img src="https://raw.githubusercontent.com/byzer-org/byzer-doc/main/byzer-notebook/zh-cn/introduction/images/catalog.png" alt="drawing" width="250"/>
<img src="/byzer-notebook/zh-cn/introduction/images/catalog.png" alt="drawing" width="250"/>
</p>

> 提示:Delta lake 线上环境为 Public 环境,请勿保存重要文件。
Expand All @@ -70,7 +70,7 @@ Byzer Notebook 支持多种数据源类型的一站式接入。
##### 3.1 编辑 笔记本

<p align="center">
<img src="https://raw.githubusercontent.com/byzer-org/byzer-doc/main/byzer-notebook/zh-cn/introduction/images/toolbar.png" alt="drawing" width="800"/>
<img src="/byzer-notebook/zh-cn/introduction/images/toolbar.png" alt="drawing" width="800"/>
</p>


Expand All @@ -80,23 +80,23 @@ Byzer Notebook 支持多种数据源类型的一站式接入。
##### 3.2 运行 笔记本

<p align="center">
<img src="https://raw.githubusercontent.com/byzer-org/byzer-doc/main/byzer-notebook/zh-cn/introduction/images/run_button.png" alt="drawing" width="800"/>
<img src="/byzer-notebook/zh-cn/introduction/images/run_button.png" alt="drawing" width="800"/>
</p>

cell 右上角和上方工具栏中都提供了运行按钮,工具栏同时提供了全局运行按钮。

##### 3.3 Code 模式 VS Markdown 模式

<p align="center">
<img src="https://raw.githubusercontent.com/byzer-org/byzer-doc/main/byzer-notebook/zh-cn/introduction/images/markdown.png" alt="drawing" width="250"/>
<img src="/byzer-notebook/zh-cn/introduction/images/markdown.png" alt="drawing" width="250"/>
</p>

对于cell可以切换 **Kolo 代码模式****Python 代码模式****Markdown文本编辑** 模式。

##### 3.3 快捷键辅助及文档手册辅助

<p align="center">
<img src="https://raw.githubusercontent.com/byzer-org/byzer-doc/main/byzer-notebook/zh-cn/introduction/images/feedback.png" alt="drawing" width="800"/>
<img src="/byzer-notebook/zh-cn/introduction/images/feedback.png" alt="drawing" width="800"/>
</p>

点击导航导航栏右上角的 **?** 按钮,可给予 **反馈** 和查看 **Kolo 手册**
Expand Down
14 changes: 7 additions & 7 deletions byzer-notebook/zh-cn/workspace/intro.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,51 +11,51 @@
+ **创建/导入文件夹、笔记本、工作流**

<p align="center">
<img src="https://raw.githubusercontent.com/byzer-org/byzer-doc/main/byzer-notebook/zh-cn/workspace/images/Workspace_create.png" alt="name" width="250"/>
<img src="/byzer-notebook/zh-cn/workspace/images/Workspace_create.png" alt="name" width="250"/>
</p>

您可以点击左上角**工作区**右侧的 “➕” 按钮创建文件夹、笔记本、工作流,或者导入笔记本或工作流文件。此时创建的文件夹、笔记本或工作流都在根目录下,您可以在左侧树形结构中上下滑动页面,找到对应的项目并点击右侧的 “**··· -> 移动**” 按钮将他们移动到相应的文件夹下。您也可以点击文件夹右侧的 “**···**”,直接在文件夹下面创建子文件夹、笔记本、工作流。

+ **移动文件夹、笔记本、工作流**

<p align="center">
<img src="https://raw.githubusercontent.com/byzer-org/byzer-doc/main/byzer-notebook/zh-cn/workspace/images/move.png" alt="name" width="250"/>
<img src="/byzer-notebook/zh-cn/workspace/images/move.png" alt="name" width="250"/>
</p>

<p align="center">
<img src="https://raw.githubusercontent.com/byzer-org/byzer-doc/main/byzer-notebook/zh-cn/workspace/images/move2.png" alt="name" width="250"/>
<img src="/byzer-notebook/zh-cn/workspace/images/move2.png" alt="name" width="250"/>
</p>

您可以点击文件夹、笔记本、工作流右侧的 “**··· -> 移动**” 按钮将他们移动到期望的位置。

+ **重命名文件夹、笔记本、工作流**

<p align="center">
<img src="https://raw.githubusercontent.com/byzer-org/byzer-doc/main/byzer-notebook/zh-cn/workspace/images/rename.png" alt="name" width="250"/>
<img src="/byzer-notebook/zh-cn/workspace/images/rename.png" alt="name" width="250"/>
</p>

您可以点击文件夹、笔记本、工作流右侧的 “**··· -> 重命名** 按钮给他们重新命名。

+ **克隆文件夹、笔记本、工作流**

<p align="center">
<img src="https://raw.githubusercontent.com/byzer-org/byzer-doc/main/byzer-notebook/zh-cn/workspace/images/clone.png" alt="name" width="250"/>
<img src="/byzer-notebook/zh-cn/workspace/images/clone.png" alt="name" width="250"/>
</p>

您可以点击文件夹、笔记本、工作流右侧的 “**··· -> 克隆** 按钮克隆一个完全一样的文件夹、笔记本或工作流。克隆文件夹时将在同级目录克隆一个包含所有子文件的文件夹。

+ **导出笔记本、工作流**

<p align="center">
<img src="https://raw.githubusercontent.com/byzer-org/byzer-doc/main/byzer-notebook/zh-cn/workspace/images/export.png" alt="name" width="250"/>
<img src="/byzer-notebook/zh-cn/workspace/images/export.png" alt="name" width="250"/>
</p>

您可以点击文件夹、笔记本、工作流右侧的 “**··· -> 导出** 按钮导出笔记本或工作流。

+ **删除文件夹、笔记本、工作流**

<p align="center">
<img src="https://raw.githubusercontent.com/byzer-org/byzer-doc/main/byzer-notebook/zh-cn/workspace/images/delete.png" alt="name" width="250"/>
<img src="/byzer-notebook/zh-cn/workspace/images/delete.png" alt="name" width="250"/>
</p>

您可以点击文件夹、笔记本、工作流右侧的 “**··· -> 删除** 按钮删除笔记本或工作流,注意删除之后无法恢复,请谨慎操作。文件夹下没有内容时才可以被删除。
Expand Down
24 changes: 12 additions & 12 deletions byzer-notebook/zh-cn/workspace/notebook.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,31 +7,31 @@
在笔记本的上方,有一排操作按钮,如下图所示:

<p align="center">
<img src="https://raw.githubusercontent.com/byzer-org/byzer-doc/main/byzer-notebook/zh-cn/workspace/images/operation.png" alt="name" width="800"/>
<img src="/byzer-notebook/zh-cn/workspace/images/operation.png" alt="name" width="800"/>
</p>

他们的操作含义分别是:

<img src="https://raw.githubusercontent.com/byzer-org/byzer-doc/main/byzer-notebook/zh-cn/workspace/images/edit.png" style="zoom:50%;" /> **新建 / 克隆 / 删除 / 重命名笔记本**:可以在当前笔记本主界面下创建新的笔记本,也可以克隆、重命名和删除当前笔记本;
<img src="/byzer-notebook/zh-cn/workspace/images/edit.png" style="zoom:50%;" /> **新建 / 克隆 / 删除 / 重命名笔记本**:可以在当前笔记本主界面下创建新的笔记本,也可以克隆、重命名和删除当前笔记本;

<img src="https://raw.githubusercontent.com/byzer-org/byzer-doc/main/byzer-notebook/zh-cn/workspace/images/save.png" style="zoom:50%;" /> **保存**: 保存当前编辑;
<img src="/byzer-notebook/zh-cn/workspace/images/save.png" style="zoom:50%;" /> **保存**: 保存当前编辑;

<img src="https://raw.githubusercontent.com/byzer-org/byzer-doc/main/byzer-notebook/zh-cn/workspace/images/add.png" style="zoom:50%;" /> **新增单元格**:在笔记本内新增一个单元格;
<img src="/byzer-notebook/zh-cn/workspace/images/add.png" style="zoom:50%;" /> **新增单元格**:在笔记本内新增一个单元格;

<img src="https://raw.githubusercontent.com/byzer-org/byzer-doc/main/byzer-notebook/zh-cn/workspace/images/run.png" style="zoom:50%;" /> **运行**:运行光标所在的单元格;
<img src="/byzer-notebook/zh-cn/workspace/images/run.png" style="zoom:50%;" /> **运行**:运行光标所在的单元格;

<img src="https://raw.githubusercontent.com/byzer-org/byzer-doc/main/byzer-notebook/zh-cn/workspace/images/runnext.png" style="zoom:50%;" /> **运行下一个**:运行光标所在的单元格的下一个单元格;
<img src="/byzer-notebook/zh-cn/workspace/images/runnext.png" style="zoom:50%;" /> **运行下一个**:运行光标所在的单元格的下一个单元格;

<img src="https://raw.githubusercontent.com/byzer-org/byzer-doc/main/byzer-notebook/zh-cn/workspace/images/runall.png" style="zoom:50%;" /> **运行所有**:运行笔记本内的所有单元格;
<img src="/byzer-notebook/zh-cn/workspace/images/runall.png" style="zoom:50%;" /> **运行所有**:运行笔记本内的所有单元格;

<img src="https://raw.githubusercontent.com/byzer-org/byzer-doc/main/byzer-notebook/zh-cn/workspace/images/trash.png" style="zoom:50%;" /> **删除**:删除光标所在的单元格;
<img src="/byzer-notebook/zh-cn/workspace/images/trash.png" style="zoom:50%;" /> **删除**:删除光标所在的单元格;

<img src="https://raw.githubusercontent.com/byzer-org/byzer-doc/main/byzer-notebook/zh-cn/workspace/images/clear.png" style="zoom:50%;" /> **清楚所有结果**:清楚运行笔记本后的结果;
<img src="/byzer-notebook/zh-cn/workspace/images/clear.png" style="zoom:50%;" /> **清楚所有结果**:清楚运行笔记本后的结果;

<img src="https://raw.githubusercontent.com/byzer-org/byzer-doc/main/byzer-notebook/zh-cn/workspace/images/markdown.png" style="zoom:50%;" /> **选择语言**:选择单元格内的语言,支持 Kolo、Python、Markdown 语言;
<img src="/byzer-notebook/zh-cn/workspace/images/markdown.png" style="zoom:50%;" /> **选择语言**:选择单元格内的语言,支持 Kolo、Python、Markdown 语言;

<p align="center">
<img src="https://raw.githubusercontent.com/byzer-org/byzer-doc/main/byzer-notebook/zh-cn/workspace/images/shortcut2.png" alt="name" width="800"/>
<img src="/byzer-notebook/zh-cn/workspace/images/shortcut2.png" alt="name" width="800"/>
</p>

**显示快捷帮助**:您可以通过快捷键操作笔记本,如切换到编辑模式、运行单元格等,点击**显示快捷帮助**按钮将提示所有可用的快捷操作。
Expand All @@ -43,7 +43,7 @@
您可以在笔记本内创建多个单元格,在不同单元格中写不同的语句以完成各项操作。鼠标悬浮在单元格上将在右侧显示**运行**按钮,点击后将运行单元格内的代码,运行后您可以查询结果、任务详情或日志信息,您也可以下载运行结果到 CSV 文件,如下图所示:

<p align="center">
<img src="https://raw.githubusercontent.com/byzer-org/byzer-doc/main/byzer-notebook/zh-cn/workspace/images/cell.png" alt="name" width="800"/>
<img src="/byzer-notebook/zh-cn/workspace/images/cell.png" alt="name" width="800"/>
</p>

鼠标悬浮在单元格左侧,点击出现的 ➕ 按钮,您可以快速添加一个单元格,将添加在光标所在单元格的下方,你也可以托住当前单元格上下滑动以调整所有单元格的顺序。
Expand Down
8 changes: 4 additions & 4 deletions kolo-lang/zh-cn/introduction/get_started.md
Original file line number Diff line number Diff line change
Expand Up @@ -46,24 +46,24 @@

`docker pull allwefantasy/mlsql-sandbox:3.1.1-2.2.0`

![fetch_image](https://raw.githubusercontent.com/byzer-org/byzer-doc/main/kolo-lang/zh-cn/introduction/images/fetch_sandbox_image.png)
![fetch_image](/kolo-lang/zh-cn/introduction/images/fetch_sandbox_image.png)

2. 运行容器

`docker run -d --name byzer-sandbox -p 9002:9002 -p 9003:9003 -p 3306:3306 -e MYSQL_ROOT_PASSWORD=root allwefantasy/mlsql-sandbox:3.1.1-2.2.0`

![run_container](https://raw.githubusercontent.com/byzer-org/byzer-doc/main/kolo-lang/zh-cn/introduction/images/run_sandbox_container.png)
![run_container](/kolo-lang/zh-cn/introduction/images/run_sandbox_container.png)


3. 浏览器访问

访问 `http://localhost:9002`

![visit_notebook](https://raw.githubusercontent.com/byzer-org/byzer-doc/main/kolo-lang/zh-cn/introduction/images/visit_notebook.png)
![visit_notebook](/kolo-lang/zh-cn/introduction/images/visit_notebook.png)

输入账号密码: admin/admin,开始探索 Byzer Notebook 吧。

![explore_notebook](https://raw.githubusercontent.com/byzer-org/byzer-doc/main/kolo-lang/zh-cn/introduction/images/explore_notebook_cn.png)
![explore_notebook](/kolo-lang/zh-cn/introduction/images/explore_notebook_cn.png)



Loading

0 comments on commit ac975a0

Please sign in to comment.