Skip to content
This repository was archived by the owner on Mar 23, 2021. It is now read-only.

Commit e4a25f7

Browse files
committed
Update READMEs with new yarn env command
1 parent 7b2ec7c commit e4a25f7

File tree

4 files changed

+23
-14
lines changed

4 files changed

+23
-14
lines changed

new_project/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ This project was bootstrapped with [Create Comit App](https://github.com/comit-n
44

55
In the project directory, you can run:
66

7-
### `yarn create comit-app start-env`
7+
### `yarn env`
88

99
Sets up the development environment, starting blockchain nodes and COMIT nodes.
1010

new_project/examples/btc_eth/README.md

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,10 @@ An example project that shows how to swap Bitcoin for Ether with COMIT.
44

55
## How to run this example
66

7-
1. Make sure you have an environment setup through `create-comit-app`
8-
2. Run `yarn install` to install the necessary dependencies
9-
3. Run `yarn swap` to start the swap
10-
4. Hit `CTRL-C` once the swap is done.
7+
1. Run `yarn env` to setup the environment.
8+
9+
In a separate terminal:
10+
11+
1. Run `yarn install` to install the necessary dependencies
12+
2. Run `yarn swap` to start the swap
13+
3. Hit `CTRL-C` once the swap is done.

new_project/examples/erc20_btc/README.md

Lines changed: 8 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,11 @@ Both maker and taker are processed in the same terminal.
66

77
## How to run this example
88

9-
1. Make sure you have an environment setup through `create-comit-app`,
10-
2. Run `yarn install` to install the necessary dependencies,
11-
3. Run `yarn swap` to start the swap,
12-
4. Press `Enter` when asked to continue,
13-
5. Profit!
9+
1. Run `yarn env` to setup the environment.
10+
11+
In a separate terminal:
12+
13+
1. Run `yarn install` to install the necessary dependencies,
14+
2. Run `yarn swap` to start the swap,
15+
3. Press `Enter` when asked to continue,
16+
4. Profit!

new_project/examples/separate_apps/README.md

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# Example for swapping Bitcoin for Ether (separate processes)
1+
# Example for swapping Bitcoin for Ether (separate processes)
22

33
An example project that shows how to swap Bitcoin for Ether with COMIT.
44

@@ -17,9 +17,12 @@ It then consists of 5 steps:
1717

1818
## How to run this example
1919

20-
1. Make sure you have an environment setup through `create-comit-app`,
21-
2. Run `yarn install` to install the necessary dependencies,
22-
3. Run `yarn run maker` to start the maker app,
20+
1. Run `yarn env` to setup the environment.
21+
22+
In a separate terminal:
23+
24+
1. Run `yarn install` to install the necessary dependencies,
25+
2. Run `yarn run maker` to start the maker app,
2326
3. Run `yarn run taker` to start the taker app and initiate a swap,
2427
4. Press `Enter` when asked to continue,
2528
5. Profit!

0 commit comments

Comments
 (0)