From 9495572ba975b93704c957cd2cae600ac6ed5057 Mon Sep 17 00:00:00 2001 From: Luke Schoen Date: Mon, 12 Dec 2022 12:20:27 +1100 Subject: [PATCH] Update substrate-node-template readme to suggest user to create a ./.local directory if they want to use the template Docker instructions Add an instruction in the "Run in Docker" instructions to create that folder (i.e. `mkdir .local`) before running the scripts like `./scripts/docker_run.sh`, otherwise users get the following error: ``` ERROR: for substrate-node-template_dev_run Cannot create container for service dev: invalid mount config for type "bind": bind source path does not exist: /Users/me/substrate-node-template/.local ERROR: for dev Cannot create container for service dev: invalid mount config for type "bind": bind source path does not exist: /Users/me/substrate-node-template/.local ``` Alternatively create a /.local folder in the readme for users to use --- bin/node-template/README.md | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/bin/node-template/README.md b/bin/node-template/README.md index 0f6fd9450aeee..27be966215eb1 100644 --- a/bin/node-template/README.md +++ b/bin/node-template/README.md @@ -208,6 +208,11 @@ A FRAME pallet is compromised of a number of blockchain primitives: First, install [Docker](https://docs.docker.com/get-docker/) and [Docker Compose](https://docs.docker.com/compose/install/). +Create the following folder before running the following scripts: +```bash +mkdir ./.local +``` + Then run the following command to start a single node development chain. ```bash