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
To help you better understand and visualize the different Topology components, we have created an interactive demo, [which is contained here.](https://github.com/patternfly/react-topology/tree/main/packages/demo-app-ts)
204
204
205
-
Continue reading for instructions on how to build and run the demo app.
205
+
See the instructions to install and run the demo app, here: [Demo README.md](packages/demo-app-ts/README.md)
206
206
207
-
### Prerequisites
208
-
209
-
In order to run the demo app, you need to make sure the following prerequisites are met.
210
-
211
-
1. Make sure that you have yarn installed, as outlined in [the general Topology prerequisites.](#prerequisites)
212
-
1. If you haven’t already, [fork the Topology project.](https://github.com/patternfly/react-topology)
213
-
214
-
### Running the demo app
215
-
216
-
Once you’ve set up the prerequisites, you can follow these steps to run the docs workspace or the demo app on your local machine
217
-
218
-
1. In a terminal, type the following commands to start the docs workspace:
219
-
220
-
```
221
-
yarn install
222
-
yarn start
223
-
```
224
-
225
-
2. In a terminal, type the following commands to navigate to demo-app-ts and launch the demo app:
226
-
227
-
```
228
-
cd packages/demo-app-ts
229
-
yarn start:demo-app:hot
230
-
```
231
-
232
-
3. You will receive a message confirming that the app is running. To view the locally running workspace, visit http://localhost:8008/.
If you find a bug, have a request, or have any questions about Topology that aren't answered in our documentation, please [reach out to us on Slack.](https://patternfly.slack.com/archives/CK7URGJ2W)
Copy file name to clipboardexpand all lines: packages/demo-app-ts/README.md
+7-6
Original file line number
Diff line number
Diff line change
@@ -1,3 +1,4 @@
1
+
[the general Topology prerequisites]: ../../README.md#prerequisites
1
2
# Topology demo app
2
3
3
4
To help you better understand and visualize the different Topology components, we have created an interactive demo, [which is contained here.](https://github.com/patternfly/react-topology/tree/main/packages/demo-app-ts)
@@ -8,8 +9,8 @@ Continue reading for instructions on how to build and run the demo app.
8
9
9
10
In order to run the demo app, you need to make sure the following prerequisites are met.
10
11
11
-
1. Make sure that you have yarn installed, as outlined in [the general Topology prerequisites.](#prerequisites)
12
-
1. Make sure that you have the PatternFly React library installed. [Follow these instructions if you need to install this package.](https://github.com/patternfly/patternfly-react?tab=readme-ov-file#install-and-configure-patternfly-react)
12
+
1. Make sure that you have yarn installed, as outlined in [the general Topology prerequisites].
13
+
1. Make sure that you have the PatternFly React library installed. [Follow these instructions if you need to install this package.](https://github.com/patternfly/patternfly-react?tab=readme-ov-file#install-and-configure-patternfly-react)
13
14
1. If you haven’t already, clone [the Topology project](https://github.com/patternfly/react-topology) and navigate to your local directory:
14
15
15
16
```
@@ -21,14 +22,14 @@ cd react-topology
21
22
22
23
Once you’ve set up the prerequisites, you can follow these steps to run the demo app on your local machine
23
24
24
-
1. In a terminal, type the following commands to start the docs workspace:
25
+
1. In a terminal, type the following commands to start the `react topology docs workspace`:
25
26
26
27
```
27
28
yarn install
28
29
yarn start
29
30
```
30
31
31
-
2. In a separate terminal window, type the following commands to navigate to demo-app-ts and launch the demo app:
32
+
2. In a **separate** terminal window, type the following commands to navigate to `demo-app-ts` and launch the demo app:
If you find a bug, have a request, or have any questions about Topology that aren't answered in our documentation, please [reach out to us on Slack.](https://patternfly.slack.com/archives/CK7URGJ2W)
0 commit comments