Skip to content

Commit

Permalink
Merge pull request #184 from spinkube/setup
Browse files Browse the repository at this point in the history
readme & setup: simplify the run command and fix an error in setup-linux.sh
  • Loading branch information
Mossaka authored Sep 10, 2024
2 parents 378917c + 5e5fff1 commit 8c36933
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ make setup # setup linux environment
Build, install, and run the shim binary:

```bash
make run-spin # run the shim binary
make run # run the shim binary
```

You may open another terminal and run the following command to test the shim:
Expand Down
3 changes: 2 additions & 1 deletion scripts/setup-linux.sh
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,11 @@ sudo apt -y update
sudo apt-get install -y protobuf-compiler libseccomp-dev

echo "setting up rust"
sudo rustup toolchain install --component clippy --component rustfmt --no-self-update
sudo rustup toolchain install --component clippy --component rustfmt --no-self-update stable
sudo rustup target add wasm32-wasi && sudo rustup target add wasm32-unknown-unknown

## setup tinygo. required for building test spin app
echo "setting up tinygo"
wget https://github.com/tinygo-org/tinygo/releases/download/v0.30.0/tinygo_0.30.0_amd64.deb
sudo dpkg -i tinygo_0.30.0_amd64.deb
rm tinygo_0.30.0_amd64.deb

0 comments on commit 8c36933

Please sign in to comment.