Переглянути джерело

storage-node: README add instructions for running dev instance with docker

Mokhtar Naamani 4 роки тому
батько
коміт
1afc52b4bf
1 змінених файлів з 18 додано та 2 видалено
  1. 18 2
      storage-node/README.md

+ 18 - 2
storage-node/README.md

@@ -65,7 +65,7 @@ Running a development environment, after starting the ipfs node and development
 yarn storage-cli dev-init
 ```
 
-This will configure the running chain with alice as the storage lead and with a know role key for
+This will configure the running chain with alice as the storage lead and with a known role key for
 the storage provider.
 
 Run colossus in development mode:
@@ -81,7 +81,23 @@ yarn workspace pioneer start
 
 Browse pioneer on http://localhost:3000/
 You should find Alice account is the storage working group lead and is a storage provider
-Create a media channel. And upload a file.
+Create a media channel. And upload a file. You may have to wait a couple of minutes before
+the ipns of the storage-node is registered before you can upload a file, or you will get an error
+in pioneer.
 
 ## Detailed Setup and Configuration Guide
 For details on how to setup a storage node on the Joystream network, follow this [step by step guide](https://github.com/Joystream/helpdesk/tree/master/roles/storage-providers).
+
+## Running a development instance with Docker
+If you have docker installed you can run a fresh development setup using the utility scripts provided:
+
+First build a docker image of joystream-node from the root:
+
+```sh
+# Build the latest image
+scripts/build-joystream-node-docker-image.sh
+
+# Run docker-compose to start an ipfs node, and joystream-node in development mode
+# initializes the chain with development settings, and start a storage-node
+storage-node/scripts/run-dev-instance.sh
+```