Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Create sui-setup.sh startup script for Cargo install through genesis #1819

Merged
merged 7 commits into from
May 10, 2022

Conversation

Clay-Mysten
Copy link
Contributor

No description provided.

startup script for Cargo install through genesis
@Clay-Mysten Clay-Mysten requested a review from huitseeker May 5, 2022 07:15
@github-actions github-actions bot added the Type: Documentation Improvements or additions to documentation label May 5, 2022
doc/utils/sui-setup.sh Outdated Show resolved Hide resolved
Replace cargo installation with confirmation and link to doc for install
Copy link
Contributor

@huitseeker huitseeker left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍

@Clay-Mysten
Copy link
Contributor Author

I will need to delete the sui directory.

Add directory removal
@Clay-Mysten
Copy link
Contributor Author

This seems to now do what we want:

claymurphy@Clays-MacBook-Pro ~ % ls -lah sui 
total 504
drwxr-xr-x  34 claymurphy  staff   1.1K May 10 16:01 .
drwxr-x---+ 38 claymurphy  staff   1.2K May 10 16:00 ..
drwxr-xr-x   3 claymurphy  staff    96B May 10 16:01 .cargo
-rw-r--r--   1 claymurphy  staff   728B May 10 16:01 .clippy.toml
drwxr-xr-x  12 claymurphy  staff   384B May 10 16:01 .git
-rw-r--r--   1 claymurphy  staff   246B May 10 16:01 .gitattributes
drwxr-xr-x   7 claymurphy  staff   224B May 10 16:01 .github
-rw-r--r--   1 claymurphy  staff   187B May 10 16:01 .gitignore
-rw-r--r--   1 claymurphy  staff   1.1K May 10 16:01 CODE_OF_CONDUCT.MD
-rw-r--r--   1 claymurphy  staff   185B May 10 16:01 CONTRIBUTING.md
-rw-r--r--   1 claymurphy  staff   156K May 10 16:01 Cargo.lock
-rw-r--r--   1 claymurphy  staff   382B May 10 16:01 Cargo.toml
-rw-r--r--   1 claymurphy  staff   777B May 10 16:01 ISSUES.md
-rw-r--r--   1 claymurphy  staff    11K May 10 16:01 LICENSE
-rw-r--r--   1 claymurphy  staff    18K May 10 16:01 LICENSE-docs
-rw-r--r--   1 claymurphy  staff   4.6K May 10 16:01 README.md
-rw-r--r--   1 claymurphy  staff   1.6K May 10 16:01 ROADMAP.md
-rw-r--r--   1 claymurphy  staff   438B May 10 16:01 SECURITY.md
drwxr-xr-x   4 claymurphy  staff   128B May 10 16:01 crates
-rw-r--r--   1 claymurphy  staff   9.5K May 10 16:01 deny.toml
drwxr-xr-x   7 claymurphy  staff   224B May 10 16:01 doc
drwxr-xr-x   4 claymurphy  staff   128B May 10 16:01 explorer
drwxr-xr-x   4 claymurphy  staff   128B May 10 16:01 faucet
drwxr-xr-x   3 claymurphy  staff    96B May 10 16:01 nft_mirror
-rw-r--r--   1 claymurphy  staff     7B May 10 16:01 rust-toolchain
-rw-r--r--   1 claymurphy  staff    49B May 10 16:01 rustfmt.toml
drwxr-xr-x   6 claymurphy  staff   192B May 10 16:01 scripts
drwxr-xr-x   3 claymurphy  staff    96B May 10 16:01 sdk
drwxr-xr-x   7 claymurphy  staff   224B May 10 16:01 sui
drwxr-xr-x   5 claymurphy  staff   160B May 10 16:01 sui_core
drwxr-xr-x   8 claymurphy  staff   256B May 10 16:01 sui_programmability
drwxr-xr-x   4 claymurphy  staff   128B May 10 16:01 sui_types
drwxr-xr-x   4 claymurphy  staff   128B May 10 16:01 test_utils
drwxr-xr-x  18 claymurphy  staff   576B May 10 16:01 wallet
claymurphy@Clays-MacBook-Pro ~ % 

And:

claymurphy@Clays-MacBook-Pro ~ % ls -lah .sui/sui_config 
total 40
drwxr-xr-x  8 claymurphy  staff   256B May 10 16:01 .
drwxr-xr-x  3 claymurphy  staff    96B May 10 16:01 ..
-rw-r--r--  1 claymurphy  staff   378B May 10 16:01 authorities.key
drwxr-xr-x  6 claymurphy  staff   192B May 10 16:01 authorities_db
-rw-r--r--  1 claymurphy  staff   837B May 10 16:01 gateway.conf
-rw-r--r--  1 claymurphy  staff   1.7K May 10 16:01 network.conf
-rw-r--r--  1 claymurphy  staff   1.4K May 10 16:01 wallet.conf
-rw-r--r--  1 claymurphy  staff   472B May 10 16:01 wallet.key
claymurphy@Clays-MacBook-Pro ~ % 

Going to push this. Thanks to Francois and Chris for their reviews.

Make path to script explicit
Make doc comments better still
@Clay-Mysten Clay-Mysten enabled auto-merge (squash) May 10, 2022 23:08
@Clay-Mysten Clay-Mysten disabled auto-merge May 10, 2022 23:10
Display recommendation for manual install of VSCode extension in output
Attempting to add standard license header
@Clay-Mysten Clay-Mysten merged commit 5ff6899 into main May 10, 2022
@Clay-Mysten Clay-Mysten deleted the Clay-Mysten-patch-14 branch May 10, 2022 23:24
longbowlu pushed a commit that referenced this pull request May 12, 2022
…1819)

* Create sui-setup.sh

startup script for Cargo install through genesis

* Update sui-setup.sh

Replace cargo installation with confirmation and link to doc for install

* Update sui-setup.sh

Add directory removal

* Update sui-setup.sh

Make path to script explicit

* Update sui-setup.sh

Make doc comments better still

* Update sui-setup.sh

Display recommendation for manual install of VSCode extension in output

* Update sui-setup.sh

Attempting to add standard license header
punwai pushed a commit that referenced this pull request Jul 27, 2022
…1819)

* Create sui-setup.sh

startup script for Cargo install through genesis

* Update sui-setup.sh

Replace cargo installation with confirmation and link to doc for install

* Update sui-setup.sh

Add directory removal

* Update sui-setup.sh

Make path to script explicit

* Update sui-setup.sh

Make doc comments better still

* Update sui-setup.sh

Display recommendation for manual install of VSCode extension in output

* Update sui-setup.sh

Attempting to add standard license header
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dogfooding Type: Documentation Improvements or additions to documentation
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants