From 3ad3d143bad44cb0f6a3d5054a33e670843cc01d Mon Sep 17 00:00:00 2001 From: Luke Childs Date: Fri, 5 Oct 2018 09:11:08 +0700 Subject: [PATCH] Improve usage section of readme --- README.md | 20 +++++++++++++++++--- 1 file changed, 17 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index cc5c3c0..2b34924 100644 --- a/README.md +++ b/README.md @@ -9,15 +9,29 @@ A fully pre-configured Ledger SDK build environment. +

+ +

+ ## Usage +To run `make` in your `~/code/my-ledger-app` project dir: + ``` docker run -v ~/code/my-ledger-app:/code lukechilds/ledger-sdk ``` -

- -

+If you're already in your project dir you can just do: + +``` +docker run -v ${PWD}:/code lukechilds/ledger-sdk +``` + +To run an arbitrary command in your project dir: + +``` +docker run -v ${PWD}:/code lukechilds/ledger-sdk 'make clean' +``` ## License