From c20c8fdb9d9458dee296bb1d91cc6cd60d9dfd4c Mon Sep 17 00:00:00 2001 From: Chris Cummer Date: Fri, 25 May 2018 16:03:48 -0700 Subject: [PATCH] Improve the installation instructions (thanks to @matrinox) --- _site/content/posts/installation.md | 13 ++++--------- docs/index.xml | 5 ++--- docs/posts/index.xml | 5 ++--- docs/posts/installation/index.html | 8 ++++---- docs/posts/modules/git/index.html | 2 +- 5 files changed, 13 insertions(+), 20 deletions(-) diff --git a/_site/content/posts/installation.md b/_site/content/posts/installation.md index cd11efa5..8354502f 100644 --- a/_site/content/posts/installation.md +++ b/_site/content/posts/installation.md @@ -8,20 +8,15 @@ There are two ways to install WTF: ## From Source -Clone this repo: +Get this repo and install the dependencies: ```bash -git clone git@github.com:senorprogrammer/wtf.git -``` - -`cd` into that `wtf/` directory and run: - -```bash -make dependencies +go get github.com/senorprogrammer/wtf +cd $GOPATH/github.com/senorprogrammer/wtf +go get ./... make install make run ``` - and that should probably do it. ## As a Binary diff --git a/docs/index.xml b/docs/index.xml index bf60b872..ec5a9dbd 100644 --- a/docs/index.xml +++ b/docs/index.xml @@ -41,9 +41,8 @@ Quick Start Download the stand-alone, compiled binary. Unzip the downloaded fil http://wtfutil.com/posts/installation/ There are two ways to install WTF: -From Source Clone this repo: -git clone git@github.com:senorprogrammer/wtf.git cd into that wtf/ directory and run: -make dependencies make install make run and that should probably do it. +From Source Get this repo and install the dependencies: +go get github.com/senorprogrammer/wtf cd $GOPATH/github.com/senorprogrammer/wtf go get ./... make install make run and that should probably do it. As a Binary Grab the latest version from here: https://github.com/senorprogrammer/wtf/releases expand it, and cd into the resulting directory. Then run: ./wtf and that should also do it. diff --git a/docs/posts/index.xml b/docs/posts/index.xml index 1d972cdb..a29f1fb1 100644 --- a/docs/posts/index.xml +++ b/docs/posts/index.xml @@ -41,9 +41,8 @@ Quick Start Download the stand-alone, compiled binary. Unzip the downloaded fil http://wtfutil.com/posts/installation/ There are two ways to install WTF: -From Source Clone this repo: -git clone git@github.com:senorprogrammer/wtf.git cd into that wtf/ directory and run: -make dependencies make install make run and that should probably do it. +From Source Get this repo and install the dependencies: +go get github.com/senorprogrammer/wtf cd $GOPATH/github.com/senorprogrammer/wtf go get ./... make install make run and that should probably do it. As a Binary Grab the latest version from here: https://github.com/senorprogrammer/wtf/releases expand it, and cd into the resulting directory. Then run: ./wtf and that should also do it. diff --git a/docs/posts/installation/index.html b/docs/posts/installation/index.html index 18cb012b..78d91b74 100644 --- a/docs/posts/installation/index.html +++ b/docs/posts/installation/index.html @@ -112,10 +112,10 @@

From Source

-

Clone this repo:

-
git clone git@github.com:senorprogrammer/wtf.git
-

cd into that wtf/ directory and run:

-
make dependencies
+

Get this repo and install the dependencies:

+
go get github.com/senorprogrammer/wtf
+cd $GOPATH/github.com/senorprogrammer/wtf
+go get ./...
 make install
 make run

and that should probably do it.

diff --git a/docs/posts/modules/git/index.html b/docs/posts/modules/git/index.html index 602639fd..04d993a0 100644 --- a/docs/posts/modules/git/index.html +++ b/docs/posts/modules/git/index.html @@ -161,7 +161,7 @@ commit, and their status.

refreshInterval: 8 repositories: - "/Users/chris/go/src/github.com/senorprogrammer/wtf" - - "/Users/chris/Documents/Lendesk/core-api"
+ - "/Users/chris/Documents/Lendesk/fakeapp"

Attributes

commitCount