This repository was archived by the owner on Oct 23, 2022. It is now read-only.
File tree 1 file changed +10
-6
lines changed
1 file changed +10
-6
lines changed Original file line number Diff line number Diff line change @@ -38,10 +38,15 @@ You can initialise the directory with:
38
38
cargo run -p ipfs-http -- init --profile test --bits 2048
39
39
```
40
40
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 ` .
45
50
46
51
The ` .rust-ipfs ` directory now contains a configuration file, ` config ` :
47
52
@@ -79,8 +84,7 @@ include a `blockstore`, a `datastore` and an `api` file:
79
84
```
80
85
81
86
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.
84
88
85
89
The node can now be queried using the go-ipfs CLI. In another terminal window
86
90
run:
You can’t perform that action at this time.
0 commit comments