Skip to content
Permalink
Browse files

Update docs

  • Loading branch information...
mweagle committed May 25, 2019
1 parent 246992f commit 1fd3cfb4d79cffa9ac1e8fb1692ea146d4e105f4
@@ -1973,13 +1973,10 @@ <h1 id="running-it">Running It</h1>

<ul>
<li><code>go get ./...</code></li>
<li><code>go get github.com/zcalusic/sysinfo</code></li>
</ul>

<p>in the directory that you saved <em>main.go</em>. Once the packages are downloaded, first get a view of what&rsquo;s going on by the <code>describe</code> command (replacing <code>$S3_BUCKET</code> with an S3 bucket you own):</p>

<div class="notices info" ><p>The <a href="github.com/zcalusic/sysinfo">sysinfo</a> package is used at Lambda execution time only. However, it must be locally available in order to successfully cross compile your AWS Lambda binary. See the <a href="https://github.com/mweagle/Sparta/issues/101">GitHub issue</a> for more information.</p>
</div>


<pre><code class="language-nohighlight">$ go run main.go --level info describe --out ./graph.html --s3Bucket $S3_BUCKET
@@ -115,14 +115,9 @@ func main() {
Next download the Sparta dependencies via:

* `go get ./...`
* `go get github.com/zcalusic/sysinfo`

in the directory that you saved _main.go_. Once the packages are downloaded, first get a view of what's going on by the `describe` command (replacing `$S3_BUCKET` with an S3 bucket you own):

{{% notice info %}}
The [sysinfo](github.com/zcalusic/sysinfo) package is used at Lambda execution time only. However, it must be locally available in order to successfully cross compile your AWS Lambda binary. See the [GitHub issue](https://github.com/mweagle/Sparta/issues/101) for more information.
{{% /notice %}}

```nohighlight
$ go run main.go --level info describe --out ./graph.html --s3Bucket $S3_BUCKET
INFO[0000] ════════════════════════════════════════════════
@@ -82,7 +82,6 @@
$> go get -u -v github.com/mweagle/Sparta
$> cd $GOPATH/src/github.com/mweagle/Sparta
Sparta$> go get -u -v ./...
Sparta$> go get -u -v github.com/zcalusic/sysinfo
```


0 comments on commit 1fd3cfb

Please sign in to comment.
You can’t perform that action at this time.