-
Install Termux
-
Open the Termux terminal on your Android device and copy-and-paste this and hit ENTER:
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 and you should see the Hugo site with docs and all