Update to how Hugo is installed (use extended version)

This commit is contained in:
Benjamin Bach 2020-10-01 12:29:06 +02:00
parent 55acb6bbb1
commit fcb4146956
Signed by: benjaoming
GPG key ID: 7D49441634585664

View file

@ -33,12 +33,12 @@ mirror to find a newer version of Hugo / libsass.
.. code-block:: console .. code-block:: console
# Install Hugo HUGO_VERSION="0.63.2"
$ wget https://mirror.csclub.uwaterloo.ca/debian/pool/main/libs/libsass/libsass1_3.6.1-1_amd64.deb -O /tmp/libsass1.deb wget -O hugo.deb https://github.com/gohugoio/hugo/releases/download/v${HUGO_VERSION}/hugo_extended_${HUGO_VERSION}_Linux-64bit.deb
$ wget https://mirror.csclub.uwaterloo.ca/debian/pool/main/h/hugo/hugo_0.58.3-1_amd64.deb -O /tmp/hugo.deb sudo dpkg -i hugo.deb
$ sudo dpkg -i /tmp/hugo.deb /tmp/libsass1.deb # ...or try sudo gdebi hugo.deb
# Go to project directory # Go to project directory inside this repository
$ cd hugo_site $ cd hugo_site
# Run dev server # Run dev server