forked from MystenLabs/sui
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[docs] Added Sui installation section and updated relevant docs to re…
…fer to it (MystenLabs#860) * [docs] Added Sui installation section and updated relevant docs to refer to it * Update index.md Replace repeat start with begin * Update move.md Make link text clear, remove important information from parenthesis * Update wallet.md Make install link text more clear No "here" links: https://www.w3.org/QA/Tips/noClickHere * Update tutorials.md Fixing more "here" links: https://www.w3.org/QA/Tips/noClickHere * Added forgotten new file * Update doc/src/build/move.md Co-authored-by: Adam Welc <[email protected]> * Update doc/src/build/move.md Co-authored-by: Adam Welc <[email protected]> * Update doc/src/build/move.md Co-authored-by: Adam Welc <[email protected]> * Update move.md Remove TODO regarding module and package names * Update install.md Make small edits to Install doc * Update move.md Fix relative paths to sui_programmability Co-authored-by: Clay-Mysten <[email protected]>
- Loading branch information
1 parent
0b688b4
commit 03d1e84
Showing
6 changed files
with
91 additions
and
81 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
--- | ||
title: Install Sui | ||
--- | ||
|
||
Sui is written in Rust, and we are using Cargo to build and manage the | ||
dependencies. As a prerequisite, you will need to [install | ||
cargo](https://doc.rust-lang.org/cargo/getting-started/installation.html) | ||
version 1.59.0 or higher in order to build and install Sui on your machine. | ||
|
||
If you'd like to install only Sui binaries (`sui`, `wallet`, and | ||
`sui-move`), use the following command: | ||
|
||
```shell | ||
cargo install --git ssh://[email protected]/MystenLabs/sui.git | ||
``` | ||
|
||
Alternatively, clone the Sui [Sui | ||
GitHub](https://github.com/MystenLabs/sui) repository and then `cargo | ||
install` with the repository clone: | ||
|
||
```shell | ||
git clone https://github.com/MystenLabs/sui.git | ||
cargo install --path sui | ||
``` | ||
|
||
In both cases, this will install `sui`, `wallet`, and `sui-move` | ||
binaries in a `~/.cargo/bin` directory that can be executed directly. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -11,30 +11,13 @@ interface, *Wallet CLI*. | |
|
||
## Setup | ||
|
||
### Installing the binaries | ||
|
||
Sui is written in Rust, and we are using Cargo to build and manage the dependencies. | ||
As a prerequisite, you will need to [install cargo](https://doc.rust-lang.org/cargo/getting-started/installation.html) | ||
in order to build and install Sui on your machine. | ||
|
||
Check out the [Sui GitHub](https://github.com/MystenLabs/sui) repository. | ||
|
||
To install the `sui` and `wallet` binaries, use the following commands. | ||
```shell | ||
cargo install --git ssh://[email protected]/MystenLabs/sui.git | ||
``` | ||
or | ||
```shell | ||
cargo install --path <Path to Sui project>/sui | ||
``` | ||
|
||
This will install `sui` and `wallet` binaries in `~/.cargo/bin`directory that can be executed directly. | ||
Follow the instructions to [install Sui binaries](install.md). | ||
|
||
## Genesis | ||
```shell | ||
sui genesis | ||
``` | ||
NOTE: For logs, set `RUST_LOG=debug` before invoking `./sui genesis`. | ||
NOTE: For logs, set `RUST_LOG=debug` before invoking `sui genesis`. | ||
|
||
The `genesis` command creates four authorities and five user accounts | ||
each with five gas objects. These are Sui [objects](objects.md) used | ||
|
@@ -134,7 +117,7 @@ or | |
```shell | ||
sui start --config [config file path] | ||
``` | ||
NOTE: For logs, set `RUST_LOG=debug` before invoking `./sui start`. | ||
NOTE: For logs, set `RUST_LOG=debug` before invoking `sui start`. | ||
|
||
The network config file path defaults to `./network.conf` if not | ||
specified. | ||
|
Oops, something went wrong.