You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+50-1Lines changed: 50 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -184,7 +184,7 @@ First, install [Docker](https://docs.docker.com/get-docker/) and
184
184
Please use following command to run peaq-network-node parachian in the docker container connected with polkadot relaychain running in the PEAQ development environment.
185
185
186
186
```bash
187
-
docker run kamranpeaq/peaq-node-parachain:2.0 --chain ./node/src/chain-specs/peaq-dev-parachain-raw.json \
187
+
docker run peaq/parachain:v1.1.4 --chain ./node/src/chain-specs/peaq-dev-parachain-raw.json \
188
188
--base-path /tmp/parachain/alice \
189
189
--port 40333 \
190
190
--ws-port 8844 \
@@ -197,6 +197,55 @@ Please use following command to run peaq-network-node parachian in the docker co
197
197
198
198
Once you run this command, wait for a few second. Now the peaq parachian should be running in the docker container that is connected to relaychain running in PEAQ dev environament.
199
199
200
+
### Run on your local machine with Docker commands
201
+
202
+
Please follow the steps given below to run peaq-network-node parachian on your local machine connected with polkadot
203
+
relaychain running in the PEAQ development environment. It is assumed that you have already downloaded the source code
The folder .local is needed because that is where data such as session keys are stored for validators. Also we bind mount from the container folder /root/.local to the host machine project root folder ./.local.
221
+
222
+
Now run the following script to start a peaq-network-node parachain that will connect to the polkadot relay chain running in peaq development environment:
This command will first compile your code (if it is not already compiled), and then start a peaq-network-node parachain. The node running on your local machine will take sometime to sync up. Make sure that the parachain blocks are generated.
237
+
238
+
You can also replace the default command by appending your own. A few useful ones are as follows:
0 commit comments