From c9395024c134e4fb2e175e342164a493a4f61d37 Mon Sep 17 00:00:00 2001 From: jconning Date: Wed, 8 Feb 2017 13:16:05 -0800 Subject: [PATCH] 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 --- README.md | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 791345831..ec57ee884 100644 --- a/README.md +++ b/README.md @@ -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: ```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 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: ```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 Functions are small, bite sized bits of code that do one simple thing. Forget about monoliths when using functions,