File tree Expand file tree Collapse file tree 1 file changed +8
-4
lines changed Expand file tree Collapse file tree 1 file changed +8
-4
lines changed Original file line number Diff line number Diff line change @@ -14,9 +14,8 @@ This page shows you how to get started to use the GraphQL Gateway for Kubernetes
14
14
git clone
[email protected] :openmfp/kubernetes-graphql-gateway.git
&& cd kubernetes-graphql-gateway
15
15
```
16
16
17
- ## Running the API Listener
18
17
19
- 1 . Setup the environment:
18
+ ## Setup the environment:
20
19
``` shell
21
20
# this will disable authorization
22
21
export LOCAL_DEVELOPMENT=true
@@ -25,15 +24,20 @@ export ENABLE_KCP=false
25
24
# you must point to the config of the cluster you want to run against
26
25
export KUBECONFIG=YOUR_KUBECONFIG_PATH
27
26
```
28
- 2 . In the same shell, run the listener:
27
+ ## Running the Listener
28
+
29
+ Make sure you have done steps from the [ setup section] ( #setup-the-environment ) .
30
+
29
31
``` shell
30
32
task listener
31
33
```
32
34
This will create a directory ` ./bin/definitions ` and start watching the cluster APIs for changes.
33
35
In that directory a file will be created for each workspace in KCP or a standard Kubernetes cluster.
34
36
The file will contain the API definitions for the resources in that workspace.
35
37
36
- ## Running the GraphQL Gateway
38
+ ## Running the Gateway
39
+
40
+ Make sure you have done steps from the [ setup section] ( #setup-the-environment ) .
37
41
38
42
In the root directory of the ` kubernetes-graphql-gateway ` repository, open a new shell and run the Graphql gateway as follows:
39
43
``` shell
You can’t perform that action at this time.
0 commit comments