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

Commit 57a2108

Browse files
committed
docs(http): more small tweaks to tutorial
1 parent 70c2e7d commit 57a2108

File tree

1 file changed

+10
-6
lines changed

1 file changed

+10
-6
lines changed

http/README.md

Lines changed: 10 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -38,10 +38,15 @@ You can initialise the directory with:
3838
cargo run -p ipfs-http -- init --profile test --bits 2048
3939
```
4040

41-
The `--profile` option allows the user to use a set of defaults. Currently
42-
only `test` is supported. The `--bits` option specifies the length of the RSA
43-
keys to be used. The output should return a peer id and confirm the path of the
44-
newly initialised node is either the default or the `IPFS_PATH`.
41+
The `--profile` option allows the user to use a set of defaults. Currently tow
42+
profiles are supported:
43+
44+
- `test`: runs the daemon using ephemeral ports
45+
- `default` runs the daemon on port `4004`
46+
47+
The `--bits` option specifies the length of the RSA keys to be used. The output
48+
should return a peer id and confirm the path of the newly initialised node is
49+
either the default or the `IPFS_PATH`.
4550

4651
The `.rust-ipfs` directory now contains a configuration file, `config`:
4752

@@ -79,8 +84,7 @@ include a `blockstore`, a `datastore` and an `api` file:
7984
```
8085

8186
The `blockstore` and `datastore` are empty, as we haven't yet added any data to
82-
the ipfs node. The `api` file keeps track of the node's address (uses ephemeral
83-
ports).
87+
the ipfs node. The `api` file keeps track of the node's address.
8488

8589
The node can now be queried using the go-ipfs CLI. In another terminal window
8690
run:

0 commit comments

Comments
 (0)