You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/bioengine-apps.md
+4-4Lines changed: 4 additions & 4 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,8 +1,8 @@
1
-
###BioEngine Apps Development
1
+
# BioEngine Apps Development
2
2
3
3
Developing BioEngine Apps involves creating both user interfaces (UI Apps) and computational backends (Compute Apps). These apps work together to provide a seamless experience for bioimage analysis and AI-powered tasks. This guide offers a comprehensive overview of how developers can build and contribute BioEngine Apps, leveraging modern web technologies, the BioEngine platform, and its associated tools.
4
4
5
-
####1. Developing UI Apps with ImJoy
5
+
## 1. Developing UI Apps with ImJoy
6
6
7
7
**Overview:**
8
8
UI Apps are web-based interfaces that allow users to interact with BioEngine. They are designed to be intuitive, responsive, and capable of handling various tasks such as image uploading, configuring analysis parameters, visualizing results, and managing workflows.
@@ -79,7 +79,7 @@ ImJoy is a flexible platform that supports multiple plugin types, allowing devel
79
79
5. **Deploying and Sharing Your UI App:**
80
80
- Deploy the UI App on ImJoy or other platforms and share it with users by providing a URL or hosting it on platforms like GitHub.
81
81
82
-
#### 2. Developing Compute Apps
82
+
## 2. Developing Compute Apps
83
83
84
84
**Overview:**
85
85
Compute Apps are the backend services that perform the heavy computations required by BioEngine applications. These apps can be developed to run either as Hypha services in independent containers or directly on workstations, typically equipped with GPUs.
@@ -170,6 +170,6 @@ If developers want to submit their Compute App to the BioEngine platform, they n
170
170
**Running the Compute App Locally or on a Server:**
171
171
After submission, developers can continue to run their Compute Apps locally or on a server using Ray and Hypha, ensuring they meet performance and scalability requirements before or after integration with the BioEngine platform.
172
172
173
-
#### Conclusion
173
+
## Conclusion
174
174
175
175
By following this guide, developers can create and contribute BioEngine Apps that integrate intuitive user interfaces with powerful backend computations. The flexibility of the BioEngine platform, combined with tools like ImJoy and Hypha, provides developers with the means to build, deploy, and scale applications that meet the growing needs of the bioimage analysis community. Whether running on local hardware or as part of a larger cloud infrastructure, BioEngine Apps enable cutting-edge research and collaboration in life sciences.
Copy file name to clipboardExpand all lines: docs/tutorial-bioengine-apps.md
+8-8Lines changed: 8 additions & 8 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,8 +1,8 @@
1
-
###Step-by-Step Tutorial: How to Create BioEngine Apps
1
+
# Step-by-Step Tutorial: How to Create BioEngine Apps
2
2
3
3
Welcome to the tutorial on creating BioEngine Apps! In this guide, we'll walk you through the process of developing and submitting both UI and Compute Apps for the BioEngine platform. Whether you're building a user interface or a computational backend, this tutorial will help you get started and contribute your app to the BioEngine ecosystem.
4
4
5
-
####Prerequisites
5
+
## Prerequisites
6
6
7
7
Before you begin, ensure you have the following prerequisites:
8
8
@@ -18,7 +18,7 @@ Before you begin, ensure you have the following prerequisites:
18
18
pip install ray
19
19
```
20
20
21
-
#### Step 1: Set Up Your Development Environment
21
+
## Step 1: Set Up Your Development Environment
22
22
23
23
1. **Clone the BioEngine Repository:**
24
24
- Start by cloning the BioEngine GitHub repository to your local machine:
@@ -34,7 +34,7 @@ Before you begin, ensure you have the following prerequisites:
34
34
cd my-bioengine-app
35
35
```
36
36
37
-
#### Step 2: Develop the Compute App
37
+
## Step 2: Develop the Compute App
38
38
39
39
Compute Apps are the backend services that perform computations. In this example, we'll create a simple Compute App using Cellpose for cell segmentation.
40
40
@@ -102,7 +102,7 @@ Compute Apps are the backend services that perform computations. In this example
102
102
max_replicas: 2
103
103
```
104
104
105
-
#### Step 3: Develop the UI App
105
+
## Step 3: Develop the UI App
106
106
107
107
UI Apps are web-based interfaces that interact with the Compute Apps. In this example, we’ll create a simple ImJoy plugin for image visualization and interaction with the Compute App.
108
108
@@ -155,7 +155,7 @@ UI Apps are web-based interfaces that interact with the Compute Apps. In this ex
155
155
</script>
156
156
```
157
157
158
-
#### Step 4: Testing Your BioEngine App
158
+
## Step 4: Testing Your BioEngine App
159
159
160
160
1. **Run the Compute App:**
161
161
- If you're running the Compute App locally:
@@ -168,7 +168,7 @@ UI Apps are web-based interfaces that interact with the Compute Apps. In this ex
168
168
- Drag and drop the `image_viewer.imjoy.html` file into the ImJoy interface.
169
169
- Run the plugin and check the console for outputs.
170
170
171
-
#### Step 5: Submitting Your App to BioEngine
171
+
## Step 5: Submitting Your App to BioEngine
172
172
173
173
1. **Prepare Your Files for Submission:**
174
174
- Ensure that your `__init__.py` and `manifest.yaml` files are complete and tested.
@@ -181,7 +181,7 @@ UI Apps are web-based interfaces that interact with the Compute Apps. In this ex
181
181
- Provide a detailed description of your app, including its functionality, dependencies, and any special instructions.
182
182
- The BioEngine team will review your submission and provide feedback or merge it into the main repository.
183
183
184
-
#### Conclusion
184
+
## Conclusion
185
185
186
186
Congratulations! You've created and submitted a BioEngine App. This tutorial has guided you through the development of both UI and Compute Apps, from setup to submission. By contributing to BioEngine, you’re helping to expand a powerful platform for bioimage analysis and AI-driven research.
0 commit comments