diff --git a/documentation/en/.library.json b/documentation/en/.library.json index 2e9efb11e..a8ca88f1e 100644 --- a/documentation/en/.library.json +++ b/documentation/en/.library.json @@ -137,7 +137,7 @@ "value": null, "posts": [ { - "title": "API Scripting Support", + "title": "Remote API Support", "slug": "en+api-scripting-support", "github": "en/api-scripting-support.md", "value": null diff --git a/documentation/en/api-scripting-support.md b/documentation/en/api-scripting-support.md index 84980f0b7..9d07aa3c8 100644 --- a/documentation/en/api-scripting-support.md +++ b/documentation/en/api-scripting-support.md @@ -1,21 +1,13 @@ -# API Scripting Support +# Remote API Support -You may want to delegate the work **Lotus Storage Miner** or **Lotus Node** perform to other machines. Here is how to setup the necessary authorization and environment variables. - -## Generate a JWT - -To generate a JWT for your environment variables, use this command: - -```sh -lotus auth create-token --perm admin -lotus-storage-miner auth create-token --perm admin -``` +You may want to delegate the work **Lotus Storage Miner** or **Lotus Node** performs to other machines. +Here is how to setup the necessary authorization and environment variables. ## Environment variables Environmental variables are variables that are defined for the current shell and are inherited by any child shells or processes. Environmental variables are used to pass information into processes that are spawned from the shell. -Using the JWT you generated, you can assign it and the **multiaddr** to the appropriate environment variable. +Using the [JWT you generated](https://lotu.sh/en+api#how-do-i-generate-a-token-18865), you can assign it and the **multiaddr** to the appropriate environment variable. ```sh # Lotus Node diff --git a/documentation/en/storing-ipfs-integration.md b/documentation/en/storing-ipfs-integration.md index ee4488082..041364380 100644 --- a/documentation/en/storing-ipfs-integration.md +++ b/documentation/en/storing-ipfs-integration.md @@ -2,7 +2,9 @@ Lotus supports making deals with data stored in IPFS, without having to re-import it into lotus. -To enable this integration, open up `~/.lotus/config.toml` (Or if you manually set `LOTUS_PATH`, look under that directory) and look for the Client field, and set `UseIpfs` to `true`. +To enable this integration, you need to have an IPFS daemon running in the background. +Then, open up `~/.lotus/config.toml` (or if you manually set `LOTUS_PATH`, look under that directory) +and look for the Client field, and set `UseIpfs` to `true`. ```toml [Client] diff --git a/go.sum b/go.sum index 9e51ed466..e0e64aead 100644 --- a/go.sum +++ b/go.sum @@ -195,8 +195,6 @@ github.com/filecoin-project/specs-actors v0.4.1-0.20200508202406-42be6629284d/go github.com/filecoin-project/specs-actors v0.4.1-0.20200509020627-3c96f54f3d7d/go.mod h1:UW3ft23q6VS8wQoNqLWjENsu9gu1uh6lxOd+H8cwhT8= github.com/filecoin-project/specs-actors v0.5.1 h1:uBPdtCnGRuBo/BNw9nrnf5NCdsaVJB/8FdfIpee1HZg= github.com/filecoin-project/specs-actors v0.5.1/go.mod h1:r5btrNzZD0oBkEz1pohv80gSCXQnqGrD0kYwOTiExyE= -github.com/filecoin-project/specs-actors v0.5.2 h1:9Y11ctTaD5ul4L2imC2moPMVEUyIOWT88s9WD3VMj0I= -github.com/filecoin-project/specs-actors v0.5.2/go.mod h1:r5btrNzZD0oBkEz1pohv80gSCXQnqGrD0kYwOTiExyE= github.com/filecoin-project/specs-actors v0.5.3 h1:fdq8Gx0izhnUKl6sYEtI4SUEjT2U6W2w06HeqLz5vmw= github.com/filecoin-project/specs-actors v0.5.3/go.mod h1:r5btrNzZD0oBkEz1pohv80gSCXQnqGrD0kYwOTiExyE= github.com/filecoin-project/specs-storage v0.0.0-20200410185809-9fbaaa08f275 h1:6OTcpsTQBQM0f/A67oEi4E4YtYd6fzkMqbU8cPIWMMs=