sshiv012 commented on code in PR #8773:
URL: https://github.com/apache/texera/pull/8773#discussion_r4625137469


##########
docs/tutorials/guide-for-how-to-use-texera/index.md:
##########
@@ -0,0 +1,120 @@
+<!--
+  ~ Licensed to the Apache Software Foundation (ASF) under one
+  ~ or more contributor license agreements.  See the NOTICE file
+  ~ distributed with this work for additional information
+  ~ regarding copyright ownership.  The ASF licenses this file
+  ~ to you under the Apache License, Version 2.0 (the
+  ~ "License"); you may not use this file except in compliance
+  ~ with the License.  You may obtain a copy of the License at
+  ~
+  ~   http://www.apache.org/licenses/LICENSE-2.0
+  ~
+  ~ Unless required by applicable law or agreed to in writing,
+  ~ software distributed under the License is distributed on an
+  ~ "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+  ~ KIND, either express or implied.  See the License for the
+  ~ specific language governing permissions and limitations
+  ~ under the License.
+-->
+
+---
+title: "Guide for how to use Texera"
+weight: 10
+---
+
+Texera lets you analyze data by connecting boxes (**operators**) on a canvas 
instead of writing a program. Each box does one step, like "read a file", "keep 
rows where…", or "compute an average". The arrows carry data from one box to 
the next.
+
+## Sign in
+
+Open the Texera address you were given in your browser and sign in.
+
+On a Texera you installed yourself ([Docker 
guide](/docs/getting-started/installing-using-docker/)), the built-in admin 
account is username `texera`, password `texera`.
+
+![Sign-in page](/images/github-assets/ebcb10f7-3d25-4673-b908-7e2de2d3179e.png)
+
+## The dashboard
+
+After signing in you see the dashboard. The left menu has:
+
+- **Hub**: workflows and datasets other people have made public.
+- **Your Work**
+  - **Workflows**: your workflows. Click **Create Workflow** to start one.
+  - **Datasets**: your data files ([how to 
upload](../create-dataset-upload-data/)).
+  - **Compute**: your computing units (see [below](#run-a-workflow)).
+  - **Warehouses** (on some setups): where your run results are stored.
+  - **Environments**: extra Python packages for Python operators.
+  - **Quota**: how much storage and compute you have used.
+- **Admin**: users, executions and site settings. Admins only.
+
+## The workflow editor
+
+![Workflow 
editor](/images/github-assets/605df038-5335-4a65-bcf8-fa872ce79551.png)
+
+1. **Operators**: all available boxes, grouped by type. If the panel is 
closed, click the grid icon at the top left of the canvas. Drag a box onto the 
canvas, or type its name in the search box. Boxes added through search land on 
top of each other; drag them apart.
+2. **Canvas**: connect the output dot on the right of one box to the input dot 
on the left of the next.
+3. **Property panel**: click a box to set its options. A red outline means an 
option is missing or wrong.
+4. **Result panel**: shows a box's output, printed messages and errors. If 
it's closed, open it with the square icon at the bottom left.
+
+## Run a workflow
+
+A **computing unit** is the machine that runs your workflow. Pick one in the 
top bar, then click **Run**. If the list is empty, click **+ Computing Unit** 
to create one.
+
+![Computing unit selector and Run button](select-computing-unit.png)
+
+Some Texera setups also need a **warehouse**, the place your run's results are 
stored. Pick one from the **Warehouse** menu next to the computing unit. If the 
Run button says **+ Warehouse** instead, click it to create one. The name can 
use letters, digits, `-` and `_`.
+
+- One computing unit can run all your workflows. Reuse it.
+- A new unit usually won't fix an error in the workflow itself (code or 
settings). It can help when the run needs more memory, CPU or GPU, or different 
Python packages.
+- Stopping (terminating) a unit stops its machine. Your workflows and datasets 
are kept. To see results on another unit, run the workflow again there.
+
+More in [Computing Units](../computing-units/).
+
+## Read a running workflow
+
+Each box's outline color shows its state. The number on each side is how many 
rows went in (left) and came out (right).
+
+![A finished CSV reader (green) feeding a running Python UDF (orange), 31 rows 
in and 30 out](operator-colors.png)
+
+| Color | Meaning |
+|---|---|
+| Gray | Not started yet |
+| Yellow-green | Ready to start |
+| Orange | Running |
+| Magenta | Paused. You paused it, or a row caused an error |
+| Green | Finished |
+
+Some operators (e.g. Sort, Aggregate, and the build side of Join) must read 
**all** their input before they output anything. They show 0 rows out until the 
operator before them finishes. That's normal. See [How Texera runs your 
workflow](/docs/concepts/how-texera-runs-your-workflow/).
+
+## See the results
+
+1. Before running, click the box and turn on its **eye icon** (top toolbar). 
Texera shows results only for boxes with the eye on.
+2. After the run, click the box and open the result panel (square icon, bottom 
left) if it's closed. The **Result** tab shows its rows.
+
+The result panel only shows the box you clicked. If it says *No operator is 
selected*, click a box. If it says *This operator has no results yet*, turn on 
that box's eye icon and run again.
+
+## Where to find errors
+
+- **Click the box that failed, or an empty spot on the canvas.** If the run 
failed, the result panel shows a **Static Error** tab with the error, including 
code that failed to start. With nothing selected it lists every operator's 
errors. A run that stops right away with every box at 0 rows usually means this.
+
+![Static Error tab listing an error for all 
operators](errors-all-operators.png)

Review Comment:
   Will do. I'll retake it once #9015 is merged!



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to