Skip to content

Commit 7580a6c

Browse files
authored
Create README.md
1 parent 0de070d commit 7580a6c

File tree

1 file changed

+23
-0
lines changed

1 file changed

+23
-0
lines changed

README.md

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
# python27-flask-template
2+
Python 2.7 OpenFaaS template with Flask
3+
4+
To try this out:
5+
6+
```bash
7+
faas template pull https://github.com/alexellis/python27-flask-template
8+
faas new --lang python27-flask myfunction
9+
mv myfunction.yml stack.yml
10+
11+
```
12+
13+
Followed by the usual flow:
14+
15+
```
16+
faas build \
17+
&& faas deploy
18+
&& faas list --verbose
19+
20+
# Wait a couple of seconds then:
21+
22+
echo -n content | faas invoke myfunction
23+
```

0 commit comments

Comments
 (0)