Skip to content
This repository has been archived by the owner on Nov 15, 2023. It is now read-only.

Commit

Permalink
pr comments
Browse files Browse the repository at this point in the history
1) Delete the output dir
2) changed documentation to generate the compose file
  • Loading branch information
samelamin committed Nov 5, 2022
1 parent 64ae78b commit 120001a
Show file tree
Hide file tree
Showing 6 changed files with 7 additions and 352 deletions.
14 changes: 7 additions & 7 deletions scripts/parachain-launch/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,19 +6,19 @@

[Parachain-launch](https://github.com/open-web3-stack/parachain-launch) is a script that generates a docker compose file allowing you to launch a testnet of multiple blockchain nodes.

The output directory already contains a generated docker-compose file so you can spin a testnet up without needing to install `parachain-launch`

To get the testnet up and running run the below command
To generate the compose file, first ensure `parachain-launch` is installed and run the following command

```
docker-compose -f output/docker-compose.yml up -d
parachain-launch generate statemine.yml
```

To regenerate the compose file, first ensure `parachain-launch` is installed and run the following command
This will produce an output directory that contains all the necessary files to run the testnet.

Once the run is successful, you can spin up the infrastructure using the below command

```
parachain-launch generate statemine.yml
docker-compose -f output/docker-compose.yml up -d
```

# Requirements
The only requirement to spin a testnet up is to have [docker-compose](https://docs.docker.com/compose/install/) installed, however to generate your own compose file then please follow the instructions to install `parachain-launch`
[docker-compose](https://docs.docker.com/compose/install/) and [Parachain-launch](https://github.com/open-web3-stack/parachain-launch)
92 changes: 0 additions & 92 deletions scripts/parachain-launch/output/docker-compose.yml

This file was deleted.

2 changes: 0 additions & 2 deletions scripts/parachain-launch/output/parachain-2000.Dockerfile

This file was deleted.

2 changes: 0 additions & 2 deletions scripts/parachain-launch/output/relaychain.Dockerfile

This file was deleted.

145 changes: 0 additions & 145 deletions scripts/parachain-launch/output/rococo-local.json

This file was deleted.

104 changes: 0 additions & 104 deletions scripts/parachain-launch/output/statemine-local-2000.json

This file was deleted.

0 comments on commit 120001a

Please sign in to comment.