File tree Expand file tree Collapse file tree 1 file changed +38
-1
lines changed Expand file tree Collapse file tree 1 file changed +38
-1
lines changed Original file line number Diff line number Diff line change @@ -8,7 +8,44 @@ This provider was created for integration testing and as a first-class example o
8
8
9
9
## Getting started
10
10
11
- Coming soon..
11
+ In one terminal, build and start the provider:
12
+
13
+ ``` sh
14
+ export GOPATH=$HOME /go
15
+ go get -u github.com/openfaas-incubator/faas-memory
16
+ cd $GOPATH /go/src/github.com/openfaas-incubator/faas-memory
17
+
18
+ make build-local
19
+
20
+ port=8083 ./faas-provider
21
+ ```
22
+
23
+ In another use the CLI with it:
24
+
25
+ ``` sh
26
+ $ export GOPATH=$HOME /go
27
+ $ cd $GOPATH /go/src/github.com/openfaas-incubator/faas-memory
28
+
29
+ $ export OPENFAAS_URL=127.0.0.1:8083
30
+
31
+ $ faas-cli list
32
+
33
+ Function Invocations Replicas
34
+
35
+ $ faas-cli store deploy figlet
36
+
37
+ WARNING! Communication is not secure, please consider using HTTPS. Letsencrypt.org offers free SSL/TLS certificates.
38
+
39
+ Deployed. 200 OK.
40
+ URL: http://127.0.0.1:8083/function/figlet
41
+
42
+ $ faas-cli list
43
+
44
+ Function Invocations Replicas
45
+ figlet 0 1
46
+ ```
47
+
48
+ More coming soon..
12
49
13
50
## Acknowledgements
14
51
You can’t perform that action at this time.
0 commit comments