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
## Description
<!-- Please provide a brief description of the changes made in this pull request. Include any relevant context or reasoning for the changes. -->
Update ReadMe with some basic setup instructions. These will need to be fully fleshed out and expanded once we have a better picture of how the frontend integrates with the backend in local dev.
## Related Issue and Pull requests
<!-- Link to any related issues using the format #<issue-number> -->
## Type of Change
<!-- Please delete options that are not relevant -->
- [x] Documentation update
## Checklist
<!-- Please ensure the following are completed before submitting the PR -->
- [ ] I have tested this does not break current pipelines / runs functionality
- [ ] I have tested the changes on staging
## Screenshots (if applicable)
<!-- Include any screenshots that might help explain the changes or provide visual context -->
## Test Instructions
<!-- Detail steps and prerequisites for testing the changes in this PR -->
## Additional Comments
<!-- Add any additional context or information that reviewers might need to know regarding this PR -->
Tangle is a web app that allows the users to build and run Machine Learning pipelines using drag and drop without having to set up development environment.
This is the frontend repo. It contains the entire user interface portion of the app. It is built primarily on Typescript + React + Tailwind CSS, and powered by NodeJS + Vite.
9
8
10
-
Please take a look at the short video demonstrating the first version of the visual pipeline editor.
2. Fork the `tangle-ui` repo - we recommend colocating the repo with the backend
29
+
3. Navigate to the forked repo and install dependencies with `npm i`
30
+
4. You are now ready to go! Run the app with `npm run start` 🚀
31
+
32
+
You can now run tangle-ui as a standalone web app! Pipelines and data will be stored in browser storage. If you want to make use of backend features, such as executing runs you will need to connect to a backend.
33
+
34
+
### Integrated Web App - Instructions
35
+
36
+
1. Complete the steps above
37
+
2. Complete the installation steps for the backend as specified in the [backend repo](https://github.com/TangleML/tangle)
38
+
3. Create a `.env` file at the root of `tangle-ui`
39
+
4. Add an env variable `VITE_BACKEND_API_URL` with the url where your backend is hosted (most likely `http://127.0.0.1:8000`)
40
+
5. Run the backend & restart the frontend app
41
+
42
+
<!-- todo: CORS -->
43
+
44
+
You should now be running Tangle in its entirety and can enjoy its full suite of features!
45
+
46
+
If you find you are blocked by CORS, you will, for now, need to use the manual steps below.
47
+
48
+
#### If all Else Fails
49
+
50
+
1. Complete the installation steps for the backend as specified in the [backend repo](https://github.com/TangleML/tangle)
51
+
2. Co-locate your local `tangle-ui` repo inside your local `tangle` repo
52
+
3. Run `npm run build` inside `tangle-ui`
53
+
4. Start the backend using the provided instructions in the `tangle` repo
54
+
55
+
If you complete these steps the app will launch on `127.0.0.1:8000` with the latest build you've created on the frontend.
24
56
25
-
###App features:
57
+
## App features:
26
58
27
-
- Build pipeline using drag and drop
28
-
-Edit component arguments
29
-
- Submit the pipeline for execution. (Follow the [backend installation instructions](https://github.com/Cloud-Pipelines/backend?tab=readme-ov-file#installation).)
59
+
- Build and edit pipelines using drag and drop visual editor
60
+
-Configure component arguments
61
+
- Submit the pipeline for execution. (Follow the [backend installation instructions](https://github.com/TangleML/tangle?tab=readme-ov-file#installation).)
30
62
- The ComponentSpec/`component.yaml` format used by Cloud Pipelines is fully compatible with the Google Cloud Vertex AI Pipelines and Kubeflow Pipelines v1. You can find many components here: [Ark-kun/pipeline_components](https://github.com/Ark-kun/pipeline_components/)
31
63
- Preloaded component library
32
64
- User component library (add private components)
65
+
- Remote component library
66
+
- GitHub-based libraries
33
67
- Component search
34
68
- Import and export pipelines
69
+
- Create subgraphs and nested pipelines
70
+
- In-app component editor
71
+
- Disable cache
72
+
- Cancel executions
73
+
- Clone pipelines and review ongoing executions (logs, artifacts, run status)
35
74
36
-
There are many features that I want to add, but I want to prioritize them based on your feedback.
75
+
Feel free to provide feedback, flag and issue or make a suggestion: [issues](https://github.com/TangleML/tangle-ui/issues).
37
76
38
-
###Credits:
77
+
## Credits:
39
78
40
79
This app is based on the [Pipeline Editor](https://cloud-pipelines.net/pipeline-editor) app created by [Alexey Volkov](https://github.com/Ark-kun) as part of the [Cloud Pipelines](https://github.com/Cloud-Pipelines) project.
0 commit comments