HUGO
Présentation
The world’s fastest framework for building websites Hugo is one of the most popular open-source static site generators. With its amazing speed and flexibility, Hugo makes building websites
Installation sur le socle serveur de ELKSIG
Install GO
wget https://dl.google.com/go/go1.12.14.linux-armv6l.tar.gz
tar -C /usr/local -xzf go1.12.14.linux-armv6l.tar.gz go/
export PATH=$PATH:/usr/local/go/binInstall Hugo
mkdir $HOME/src-hugo
cd src-hugo/
git clone https://github.com/gohugoio/hugo.git
cd hugo/
go installGénération du Site
cd /home/linaro/src-site-hugo/alpern
hugo -v -E -D
sudo systemctl stop nginx
sudo rm -Rf /var/www/public
sudo cp -Rf public /var/www/
sudo chown -R www-data:www-data /var/www/public
sudo systemctl start nginx