diff options
| author | Shulhan <ms@kilabit.info> | 2019-05-11 00:53:23 +0700 |
|---|---|---|
| committer | Shulhan <ms@kilabit.info> | 2019-05-11 00:53:23 +0700 |
| commit | 44e15454558b2f0dfb85378118530329d8d52bd2 (patch) | |
| tree | 1a6705f1d60ca24f96be63762ad1abde0ef6008f | |
| parent | cfe68c26dc8cb182abe066eb7256310ea85063b4 (diff) | |
| download | ciigo-44e15454558b2f0dfb85378118530329d8d52bd2.tar.xz | |
README: use "$HOME/go" as default base directory
Following the tradition of default $GOPATH, the repositories should be
created under "$HOME/go", not "$HOME/src".
| -rw-r--r-- | content/index.adoc | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/content/index.adoc b/content/index.adoc index ea9feea..64b6e28 100644 --- a/content/index.adoc +++ b/content/index.adoc @@ -34,15 +34,15 @@ pages to be viewed for local development using `ciigo`. . Clone the `ciigo` repository. For example, lets say we have clone the `ciigo` repository into -`$HOME/src/github.com/shuLhan/ciigo`. +`$HOME/go/src/github.com/shuLhan/ciigo`. . Create new Go repository for building a website. -For example, in directory `$HOME/src/remote.tld/user/mysite`. +For example, in directory `$HOME/go/src/remote.tld/user/mysite`. Replace "remote.tld/user/mysite" with your private or public repository. + ---- -$ mkdir -p $HOME/src/remote.tld/user/mysite -$ cd $HOME/src/remote.tld/user/mysite +$ mkdir -p $HOME/go/src/remote.tld/user/mysite +$ cd $HOME/go/src/remote.tld/user/mysite ---- . If you use Go module, create the Go module; if you use GOPATH ignore this @@ -64,8 +64,8 @@ $ mkdir -p templates . Copy the example of stylesheet and HTML template from `ciigo` repository, + ---- -$ cp $HOME/src/github.com/shuLhan/ciigo/content/assets/style.css ./content/assets/ -$ cp $HOME/src/github.com/shuLhan/ciigo/templates/html.tmpl ./templates/ +$ cp $HOME/go/src/github.com/shuLhan/ciigo/content/assets/style.css ./content/assets/ +$ cp $HOME/go/src/github.com/shuLhan/ciigo/templates/html.tmpl ./templates/ ---- . Create a Go source code to generate all asciidoc files inside "content" |
