Skip to content

Instantly share code, notes, and snippets.

@mwesten
Forked from bep/hugo-on-android.md
Last active April 17, 2018 05:56
Show Gist options
  • Save mwesten/ae617b29d85627d2b51ca94be862232f to your computer and use it in GitHub Desktop.
Save mwesten/ae617b29d85627d2b51ca94be862232f to your computer and use it in GitHub Desktop.

Revisions

  1. mwesten revised this gist Apr 17, 2018. 1 changed file with 5 additions and 3 deletions.
    8 changes: 5 additions & 3 deletions hugo-on-android.md
    Original file line number Diff line number Diff line change
    @@ -12,9 +12,11 @@ apt update;\
    apt install -y git golang make;\
    export GOPATH=$HOME/go;\
    export PATH=$PATH:$GOPATH/bin;\
    go get -d github.com/spf13/hugo;\
    cd $GOPATH/src/github.com/spf13/hugo;\
    make install;\
    go get github.com/magefile/mage;\
    go get -d github.com/gohugoio/hugo;\
    cd $GOPATH/src/github.com/gohugoio/hugo;\
    mage vendor;\
    mage install;\
    hugo server -s docs;

    ```
  2. @bep bep revised this gist Apr 10, 2017. 1 changed file with 1 addition and 1 deletion.
    2 changes: 1 addition & 1 deletion hugo-on-android.md
    Original file line number Diff line number Diff line change
    @@ -25,5 +25,5 @@ Now you can point a browser at [http://localhost:1313](http://localhost:1313) an
    ```bash
    apt update;\
    apt install curl;\
    curl -L https://github.com/spf13/hugo/releases/download/v0.19/hugo_0.20_Linux_ARM.tar.gz | tar zxf -
    curl -L https://github.com/spf13/hugo/releases/download/v0.20/hugo_0.20_Linux_ARM.tar.gz | tar zxf -

  3. @bep bep revised this gist Apr 10, 2017. 1 changed file with 1 addition and 1 deletion.
    2 changes: 1 addition & 1 deletion hugo-on-android.md
    Original file line number Diff line number Diff line change
    @@ -25,5 +25,5 @@ Now you can point a browser at [http://localhost:1313](http://localhost:1313) an
    ```bash
    apt update;\
    apt install curl;\
    curl -L https://github.com/spf13/hugo/releases/download/v0.19/hugo_0.19_Linux_ARM.tar.gz | tar zxf -
    curl -L https://github.com/spf13/hugo/releases/download/v0.19/hugo_0.20_Linux_ARM.tar.gz | tar zxf -

  4. @bep bep revised this gist Mar 11, 2017. 1 changed file with 14 additions and 3 deletions.
    17 changes: 14 additions & 3 deletions hugo-on-android.md
    Original file line number Diff line number Diff line change
    @@ -1,6 +1,10 @@
    1) Install [Termux](https://termux.com)
    First install [Termux](https://termux.com)

    2) Open the Termux terminal on your Android device and copy-and-paste the commands listed below and hit ENTER:
    Then there are two options:

    ## Build from source

    Open the Termux terminal on your Android device and copy-and-paste the commands listed below and hit ENTER:

    ```bash

    @@ -15,4 +19,11 @@ hugo server -s docs;

    ```

    3) Point a browser at [http://localhost:1313](http://localhost:1313) and you should see the Hugo site with docs and all
    Now you can point a browser at [http://localhost:1313](http://localhost:1313) and you should see the Hugo site with docs and all.

    ## Use a prebuilt release binary
    ```bash
    apt update;\
    apt install curl;\
    curl -L https://github.com/spf13/hugo/releases/download/v0.19/hugo_0.19_Linux_ARM.tar.gz | tar zxf -

  5. @bep bep revised this gist Mar 10, 2017. 1 changed file with 1 addition and 1 deletion.
    2 changes: 1 addition & 1 deletion hugo-on-android.md
    Original file line number Diff line number Diff line change
    @@ -1,6 +1,6 @@
    1) Install [Termux](https://termux.com)

    2) Open the Termux terminal on your Android device and copy-and-paste this and hit ENTER:
    2) Open the Termux terminal on your Android device and copy-and-paste the commands listed below and hit ENTER:

    ```bash

  6. @bep bep revised this gist Mar 10, 2017. 1 changed file with 1 addition and 1 deletion.
    2 changes: 1 addition & 1 deletion hugo-on-android.md
    Original file line number Diff line number Diff line change
    @@ -15,4 +15,4 @@ hugo server -s docs;

    ```

    3) Point a browser at http://localhost:1313 and you should see the Hugo site with docs and all
    3) Point a browser at [http://localhost:1313](http://localhost:1313) and you should see the Hugo site with docs and all
  7. @bep bep revised this gist Mar 10, 2017. 1 changed file with 1 addition and 1 deletion.
    2 changes: 1 addition & 1 deletion hugo-on-android.md
    Original file line number Diff line number Diff line change
    @@ -1,6 +1,6 @@
    1) Install [Termux](https://termux.com)

    2) Open the Termux terminal on your Android device and copy-and-paste this:
    2) Open the Termux terminal on your Android device and copy-and-paste this and hit ENTER:

    ```bash

  8. @bep bep revised this gist Mar 10, 2017. 1 changed file with 3 additions and 3 deletions.
    6 changes: 3 additions & 3 deletions hugo-on-android.md
    Original file line number Diff line number Diff line change
    @@ -1,6 +1,6 @@
    1. Install [Termux](https://termux.com)
    1) Install [Termux](https://termux.com)

    2. Open the Termux terminal on your Android device and copy-and-paste this:
    2) Open the Termux terminal on your Android device and copy-and-paste this:

    ```bash

    @@ -15,4 +15,4 @@ hugo server -s docs;

    ```

    3. Point a browser at http://localhost:1313 and you should see the Hugo site with docs and all
    3) Point a browser at http://localhost:1313 and you should see the Hugo site with docs and all
  9. @bep bep revised this gist Mar 10, 2017. 1 changed file with 5 additions and 2 deletions.
    7 changes: 5 additions & 2 deletions hugo-on-android.md
    Original file line number Diff line number Diff line change
    @@ -1,6 +1,8 @@
    1. Install [Termux](https://termux.com)

    2. Open the Termux terminal on your Android device and copy-and-paste this:

    ```bash
    # Install https://termux.com

    apt update;\
    apt install -y git golang make;\
    @@ -11,5 +13,6 @@ cd $GOPATH/src/github.com/spf13/hugo;\
    make install;\
    hugo server -s docs;

    # Point a browser at http://localhost:1313
    ```

    3. Point a browser at http://localhost:1313 and you should see the Hugo site with docs and all
  10. @bep bep revised this gist Mar 10, 2017. 1 changed file with 1 addition and 1 deletion.
    2 changes: 1 addition & 1 deletion hugo-on-android.md
    Original file line number Diff line number Diff line change
    @@ -9,7 +9,7 @@ export PATH=$PATH:$GOPATH/bin;\
    go get -d github.com/spf13/hugo;\
    cd $GOPATH/src/github.com/spf13/hugo;\
    make install;\
    hugo server -s docs;\
    hugo server -s docs;

    # Point a browser at http://localhost:1313
    ```
  11. @bep bep revised this gist Mar 10, 2017. 1 changed file with 8 additions and 8 deletions.
    16 changes: 8 additions & 8 deletions hugo-on-android.md
    Original file line number Diff line number Diff line change
    @@ -2,14 +2,14 @@
    ```bash
    # Install https://termux.com

    apt update \
    apt install -y git golang make \
    export GOPATH=$HOME/go \
    export PATH=$PATH:$GOPATH/bin \
    go get -d github.com/spf13/hugo \
    cd $GOPATH/src/github.com/spf13/hugo/ \
    make install \
    hugo server -s docs \
    apt update;\
    apt install -y git golang make;\
    export GOPATH=$HOME/go;\
    export PATH=$PATH:$GOPATH/bin;\
    go get -d github.com/spf13/hugo;\
    cd $GOPATH/src/github.com/spf13/hugo;\
    make install;\
    hugo server -s docs;\

    # Point a browser at http://localhost:1313
    ```
  12. @bep bep revised this gist Mar 10, 2017. 1 changed file with 8 additions and 7 deletions.
    15 changes: 8 additions & 7 deletions hugo-on-android.md
    Original file line number Diff line number Diff line change
    @@ -2,13 +2,14 @@
    ```bash
    # Install https://termux.com

    apt update
    apt install -y git golang make
    export GOPATH=$HOME/go
    export PATH=$PATH:$GOPATH/bin
    go get -d github.com/spf13/hugo
    cd $GOPATH/src/github.com/spf13/hugo/
    make install && hugo server -s docs
    apt update \
    apt install -y git golang make \
    export GOPATH=$HOME/go \
    export PATH=$PATH:$GOPATH/bin \
    go get -d github.com/spf13/hugo \
    cd $GOPATH/src/github.com/spf13/hugo/ \
    make install \
    hugo server -s docs \

    # Point a browser at http://localhost:1313
    ```
  13. @bep bep revised this gist Mar 10, 2017. 1 changed file with 1 addition and 1 deletion.
    2 changes: 1 addition & 1 deletion hugo-on-android.md
    Original file line number Diff line number Diff line change
    @@ -3,7 +3,7 @@
    # Install https://termux.com

    apt update
    apt -y install git golang make
    apt install -y git golang make
    export GOPATH=$HOME/go
    export PATH=$PATH:$GOPATH/bin
    go get -d github.com/spf13/hugo
  14. @bep bep revised this gist Mar 10, 2017. 1 changed file with 1 addition and 2 deletions.
    3 changes: 1 addition & 2 deletions hugo-on-android.md
    Original file line number Diff line number Diff line change
    @@ -3,8 +3,7 @@
    # Install https://termux.com

    apt update
    apt install git golang make

    apt -y install git golang make
    export GOPATH=$HOME/go
    export PATH=$PATH:$GOPATH/bin
    go get -d github.com/spf13/hugo
  15. @bep bep revised this gist Mar 10, 2017. 1 changed file with 1 addition and 1 deletion.
    2 changes: 1 addition & 1 deletion hugo-on-android.md
    Original file line number Diff line number Diff line change
    @@ -3,8 +3,8 @@
    # Install https://termux.com

    apt update

    apt install git golang make

    export GOPATH=$HOME/go
    export PATH=$PATH:$GOPATH/bin
    go get -d github.com/spf13/hugo
  16. @bep bep revised this gist Mar 10, 2017. 1 changed file with 3 additions and 1 deletion.
    4 changes: 3 additions & 1 deletion hugo-on-android.md
    Original file line number Diff line number Diff line change
    @@ -2,7 +2,9 @@
    ```bash
    # Install https://termux.com

    apt update && apt install git golang make
    apt update

    apt install git golang make
    export GOPATH=$HOME/go
    export PATH=$PATH:$GOPATH/bin
    go get -d github.com/spf13/hugo
  17. @bep bep revised this gist Mar 10, 2017. 1 changed file with 1 addition and 2 deletions.
    3 changes: 1 addition & 2 deletions hugo-on-android.md
    Original file line number Diff line number Diff line change
    @@ -7,8 +7,7 @@ export GOPATH=$HOME/go
    export PATH=$PATH:$GOPATH/bin
    go get -d github.com/spf13/hugo
    cd $GOPATH/src/github.com/spf13/hugo/
    make install
    hugo server -s docs
    make install && hugo server -s docs

    # Point a browser at http://localhost:1313
    ```
  18. @bep bep revised this gist Mar 10, 2017. 1 changed file with 1 addition and 2 deletions.
    3 changes: 1 addition & 2 deletions hugo-on-android.md
    Original file line number Diff line number Diff line change
    @@ -2,8 +2,7 @@
    ```bash
    # Install https://termux.com

    apt update
    apt install git golang make
    apt update && apt install git golang make
    export GOPATH=$HOME/go
    export PATH=$PATH:$GOPATH/bin
    go get -d github.com/spf13/hugo
  19. @bep bep revised this gist Mar 10, 2017. 1 changed file with 0 additions and 1 deletion.
    1 change: 0 additions & 1 deletion hugo-on-android.md
    Original file line number Diff line number Diff line change
    @@ -4,7 +4,6 @@

    apt update
    apt install git golang make

    export GOPATH=$HOME/go
    export PATH=$PATH:$GOPATH/bin
    go get -d github.com/spf13/hugo
  20. @bep bep revised this gist Mar 10, 2017. 1 changed file with 2 additions and 1 deletion.
    3 changes: 2 additions & 1 deletion hugo-on-android.md
    Original file line number Diff line number Diff line change
    @@ -5,9 +5,10 @@
    apt update
    apt install git golang make

    export GOPATH=$HOME/go
    export PATH=$PATH:$GOPATH/bin
    go get -d github.com/spf13/hugo
    cd $GOPATH/src/github.com/spf13/hugo/
    export PATH=$PATH:$GOPATH/bin
    make install
    hugo server -s docs

  21. @bep bep revised this gist Mar 10, 2017. 1 changed file with 1 addition and 0 deletions.
    1 change: 1 addition & 0 deletions hugo-on-android.md
    Original file line number Diff line number Diff line change
    @@ -2,6 +2,7 @@
    ```bash
    # Install https://termux.com

    apt update
    apt install git golang make

    go get -d github.com/spf13/hugo
  22. @bep bep revised this gist Mar 10, 2017. 1 changed file with 4 additions and 3 deletions.
    7 changes: 4 additions & 3 deletions hugo-on-android.md
    Original file line number Diff line number Diff line change
    @@ -1,13 +1,14 @@

    * Install https://termux.com
    ```bash
    # Install https://termux.com

    apt install git golang make

    go get -d github.com/spf13/hugo
    cd $GOPATH/src/github.com/spf13/hugo/
    export PATH=$PATH:$GOPATH/bin
    make install
    hugo server -s docs
    ```

    * Point a browser at http://localhost:1313
    # Point a browser at http://localhost:1313
    ```
  23. @bep bep revised this gist Mar 10, 2017. 1 changed file with 5 additions and 2 deletions.
    7 changes: 5 additions & 2 deletions hugo-on-android.md
    Original file line number Diff line number Diff line change
    @@ -1,10 +1,13 @@
    # Install https://termux.com

    * Install https://termux.com
    ```bash
    apt install git golang make

    go get -d github.com/spf13/hugo
    cd $GOPATH/src/github.com/spf13/hugo/
    export PATH=$PATH:$GOPATH/bin
    make install
    hugo server -s docs
    # Point a browser at http://localhost:1313
    ```

    * Point a browser at http://localhost:1313
  24. @bep bep created this gist Mar 10, 2017.
    10 changes: 10 additions & 0 deletions hugo-on-android.md
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,10 @@
    # Install https://termux.com

    apt install git golang make

    go get -d github.com/spf13/hugo
    cd $GOPATH/src/github.com/spf13/hugo/
    export PATH=$PATH:$GOPATH/bin
    make install
    hugo server -s docs
    # Point a browser at http://localhost:1313