Ensure markdown doesn't re-wrap lines that are commands
This commit is contained in:
@@ -44,18 +44,25 @@ FISSION_URL and FISSION_ROUTER, respectively.
|
|||||||
### Install the client CLI
|
### Install the client CLI
|
||||||
|
|
||||||
$ curl http://fission.io/fission > fission
|
$ curl http://fission.io/fission > fission
|
||||||
|
|
||||||
$ chmod +x fission
|
$ chmod +x fission
|
||||||
|
|
||||||
$ sudo mv fission /usr/local/bin/
|
$ sudo mv fission /usr/local/bin/
|
||||||
|
|
||||||
### Run an example
|
### Run an example
|
||||||
|
|
||||||
$ fission env create --name nodejs --image fission/node-env
|
$ fission env create --name nodejs --image fission/node-env
|
||||||
|
|
||||||
$ echo 'module.exports = function(context, callback) { callback(200, "Hello, world!\n"); }' > hello.js
|
$ echo 'module.exports = function(context, callback) { callback(200, "Hello, world!\n"); }' > hello.js
|
||||||
|
|
||||||
$ fission function create --name hello --env nodejs --code hello.js
|
$ fission function create --name hello --env nodejs --code hello.js
|
||||||
|
|
||||||
$ fission route create --method GET --url /hello --function hello
|
$ fission route create --method GET --url /hello --function hello
|
||||||
|
|
||||||
$ curl http://$FISSION_ROUTER/hello
|
$ curl http://$FISSION_ROUTER/hello
|
||||||
Hello, world!
|
Hello, world!
|
||||||
|
|
||||||
|
|
||||||
Status
|
Status
|
||||||
======
|
======
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user