website: make quickstart module init a little easier to follow
related to https://github.com/gokrazy/tools/issues/15
This commit is contained in:
parent
2cbd3c9442
commit
5dbb772825
@ -65,8 +65,17 @@ body {
|
||||
</p>
|
||||
|
||||
<h1>Install the gokrazy packer</h1>
|
||||
<pre>INSTANCE=gokrazy/hello; mkdir -p ~/${INSTANCE?} && cd ~/${INSTANCE?} && echo module ${INSTANCE?} > go.mod
|
||||
go get -u github.com/gokrazy/tools/cmd/gokr-packer</pre>
|
||||
<p>
|
||||
Create a directory for this gokrazy instance and initialize a Go module:
|
||||
</p>
|
||||
<pre>INSTANCE=gokrazy/hello
|
||||
mkdir -p ~/${INSTANCE?}
|
||||
cd ~/${INSTANCE?}
|
||||
go mod init hello</pre>
|
||||
<p>
|
||||
Then, install the gokr-packer:
|
||||
</p>
|
||||
<pre>go get github.com/gokrazy/tools/cmd/gokr-packer@latest</pre>
|
||||
|
||||
<h1>Overwrite an SD card with gokrazy</h1>
|
||||
<p>
|
||||
|
@ -27,8 +27,17 @@ menu:
|
||||
</p>
|
||||
|
||||
<h1>Install the gokrazy packer</h1>
|
||||
<pre>INSTANCE=gokrazy/hello; mkdir -p ~/${INSTANCE?} && cd ~/${INSTANCE?} && echo module ${INSTANCE?} > go.mod
|
||||
go get -u github.com/gokrazy/tools/cmd/gokr-packer</pre>
|
||||
<p>
|
||||
Create a directory for this gokrazy instance and initialize a Go module:
|
||||
</p>
|
||||
<pre>INSTANCE=gokrazy/hello
|
||||
mkdir -p ~/${INSTANCE?}
|
||||
cd ~/${INSTANCE?}
|
||||
go mod init hello</pre>
|
||||
<p>
|
||||
Then, install the gokr-packer:
|
||||
</p>
|
||||
<pre>go get github.com/gokrazy/tools/cmd/gokr-packer@latest</pre>
|
||||
|
||||
<h1>Overwrite an SD card with gokrazy</h1>
|
||||
<p>
|
||||
|
Loading…
x
Reference in New Issue
Block a user