Doc fixes: change docker and curl commands so they will execute. (#513)

* Doc fixes: change docker and curl commands so they will execute.

* Change curl flags to -LSs
This commit is contained in:
jconning
2017-02-08 13:16:05 -08:00
committed by Seif Lotfy سيف لطفي
parent 1783eb5488
commit c9395024c1

View File

@@ -76,9 +76,11 @@ This guide will get you up and running in a few minutes.
To get started quickly with IronFunctions, just fire up an `iron/functions` container: To get started quickly with IronFunctions, just fire up an `iron/functions` container:
```sh ```sh
docker run --rm -it --name functions --privileged -v ${pwd}/data:/app/data -p 8080:8080 iron/functions docker run --rm -it --name functions --privileged -v ${PWD}/data:/app/data -p 8080:8080 iron/functions
``` ```
*where ${PWD}/data is the directory where the functions application data files will be stored*
This will start IronFunctions in single server mode, using an embedded database and message queue. You can find all the This will start IronFunctions in single server mode, using an embedded database and message queue. You can find all the
configuration options [here](docs/options.md). If you are on Windows, check [here](docs/operating/windows.md). configuration options [here](docs/options.md). If you are on Windows, check [here](docs/operating/windows.md).
@@ -87,9 +89,11 @@ configuration options [here](docs/options.md). If you are on Windows, check [her
Install the IronFunctions CLI tool: Install the IronFunctions CLI tool:
```sh ```sh
curl -sSL http://get.iron.io/fn | sh curl -LSs http://get.iron.io/fn | sh
``` ```
This will download a shell script and execute it. If the script asks for a password, that is because it invokes sudo.
### Write a Function ### Write a Function
Functions are small, bite sized bits of code that do one simple thing. Forget about monoliths when using functions, Functions are small, bite sized bits of code that do one simple thing. Forget about monoliths when using functions,