Skip to content

Commit

Permalink
1.17.0 docs/tutorial changes. (#320)
Browse files Browse the repository at this point in the history
* post 1.17.0, appImage, snap, install updates

* post 1.17.0, CLI docs, tidy ups
  • Loading branch information
smagdali authored Aug 10, 2022
1 parent 96c73bc commit 8cce9c0
Show file tree
Hide file tree
Showing 10 changed files with 444 additions and 529 deletions.
5 changes: 4 additions & 1 deletion content/en/developers/local-network.md
Original file line number Diff line number Diff line change
Expand Up @@ -173,9 +173,12 @@ Local-nets use slightly different binaries to those used in the Filecoin mainnet
3. Checkout to the latest branch:

```shell
git checkout releases
# 'releases' always checks out the latest stable release
# if you need a specific release use
git checkout <tag_or_release>
# For example:
git checkout <vX.X.X> # tag for a release
git checkout v1.17.0 # tag for a release
```

4. Remove any existing repositories.
Expand Down
2 changes: 1 addition & 1 deletion content/en/kb/depreciated-features/index.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
---
title: "Mark for upgrade is deprecated"
description: "Marking sectors for upgrade has been depreciated as of Lotus v1.15.0"
description: "Marking sectors for upgrade has been deprecated as of Lotus v1.15.0"
date: 2022-03-17T12:00:35+01:00
lastmod: 2021-11-16T12:00:35+01:00
draft: false
Expand Down
20 changes: 11 additions & 9 deletions content/en/lotus/install/linux.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ The following instructions are specific to Linux installations.
There are several ways to install Lotus on Linux:

+ [Snap package manager](#snap-package-manager)
+ [AppImages](#appimage)
+ [AppImage](#appimage)
+ [Building from source](#building-from-source).

{{< alert icon="warning">}}**Storage providers should build from source**.
Expand Down Expand Up @@ -42,7 +42,7 @@ You can find out more about this Snap [over at Snapcraft.io](https://snapcraft.i

[AppImages](https://appimage.org/) are portable applications that allow developers to package software and dependencies in a single executable. AppImages run on most Linux-based operating systems.

1. Go to the latest [releases page in the Lotus GitHub repository](https://github.com/filecoin-project/lotus/releases/tag/v1.13.0).
1. Go to the latest [releases page in the Lotus GitHub repository](https://github.com/filecoin-project/lotus/releases/latest).
1. Under **Assets**, download the AppImage.
1. Open a terminal window and move to the location where you downloaded the AppImage. This location is likely your **Downloads** folder:

Expand All @@ -53,13 +53,13 @@ You can find out more about this Snap [over at Snapcraft.io](https://snapcraft.i
1. Make the AppImage executable:

```shell
chmod +x lotus_v1.13.0_linux-amd64.appimage
chmod +x ./Lotus-v1.17.0-x86_64.AppImage
```

1. You can now run the AppImage file by double-clicking on it or opening it from a terminal window:
1. Move the `AppImage` to `/usr/local/bin` and rename it `lotus`:

```shell
./lotus-v1.13.0_linx-amd64.appimage
sudo mv Lotus-v1.17.0-x86_64.AppImage /usr/local/bin/lotus
```

## Building from source
Expand Down Expand Up @@ -198,7 +198,7 @@ Once all the dependencies are installed, you can build and install Lotus.
lotus --version
```
```
lotus version 1.13.0+calibnet+git.7a55e8e89
lotus version 1.17.0+mainnet+git.e120c9eaf
```
1. You should now have Lotus installed. You can now [start the Lotus daemon](#start-the-lotus-daemon-and-sync-the-chain).
Expand Down Expand Up @@ -307,6 +307,7 @@ Or use `lotus net` to check the number of other peers that it is connected to in
```shell
lotus net peers
```

```
12D3KooWSDqWSDNZtpJae15FBGpJLeLmyabUfZmWDWEjqEGtUF8N, [/ip4/58.144.221.27/tcp/33425]
12D3KooWRTQoDUhWVZH9z5u9XmaFDvFw14YkcW7dSBFJ8CuzDHnu, [/ip4/67.212.85.202/tcp/10906]
Expand All @@ -317,10 +318,11 @@ Or check the current version of your Lotus node as well as network.
```shell
lotus version
```

```
Daemon: 1.13.0+calibnet+git.7a55e8e89+api1.4.0
Local: lotus version 1.13.0+calibnet+git.7a55e8e89
# running lotus v1.13.0 on Calibration testnet
Daemon: 1.17.0+mainnet+git.e120c9eaf+api1.5.0
Local: lotus version 1.17.0+mainnet+git.e120c9eaf
# running lotus v1.17.0 on Main net
```

## Stop the Lotus daemon
Expand Down
6 changes: 3 additions & 3 deletions content/en/lotus/install/lotus-lite.md
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ Before we get started, let's just go over the terms we'll use in this guide:
To spin up a Lotus lite-node, you will need:

1. A Lotus node - For best results, make sure that this node is fully synced.
2. A computer with at least 2GB RAM and a dual-core CPU to act as the Lotus lite-node. This can be your local machine. This computer must have Rust and Go 1.16.4 or higher installed.
2. A computer with at least 2GB RAM and a dual-core CPU to act as the Lotus lite-node. This can be your local machine. This computer must have Rust and Go 1.17.9 or higher installed.
3. You must have all the software dependencies required to build Lotus.

## Full-node preparation
Expand All @@ -40,7 +40,7 @@ If you are using a node-hosting service like [Glif](https://www.glif.io/) or [In

1. On your full-node open `~/.lotus/config` and:

a. Uncommend line 3.
a. Uncomment line 3.
a. Change `127.0.0.1` to `0.0.0.0`.

```toml
Expand Down Expand Up @@ -87,7 +87,7 @@ You need to create the Lotus executable to run your lite-node with. This process

1. Move onto [starting the lite-node](#start-the-lite-node).

### M1-based Macs
### M1-based Macs

Because of the novel architecture of the M1-based Mac computers, some specific environment variables must be set before creating the `lotus` executable.

Expand Down
6 changes: 3 additions & 3 deletions content/en/lotus/install/macos.md
Original file line number Diff line number Diff line change
Expand Up @@ -272,9 +272,9 @@ lotus version
```
```plaintext
Daemon: 1.13.0+calibnet+git.7a55e8e89+api1.4.0
Local: lotus version 1.13.0+calibnet+git.7a55e8e89
# running lotus v1.13.0 on Calibration testnet
Daemon: 1.17.0+mainnet+git.e120c9eaf+api1.5.0
Local: lotus version 1.17.0+mainnet+git.e120c9eaf
# running lotus v1.17.0 on Calibration testnet
```
## Stop the Lotus daemon
Expand Down
Loading

0 comments on commit 8cce9c0

Please sign in to comment.