2018-05-01 16:14:16 +00:00
|
|
|
#!/usr/bin/env bash
|
|
|
|
|
2023-10-22 03:29:18 +00:00
|
|
|
wget https://github.com/gohugoio/hugo/releases/download/v0.100.2/hugo_0.100.2_Linux-64bit.deb
|
2018-05-01 16:14:16 +00:00
|
|
|
dpkg -i hugo*.deb
|
2018-05-01 16:22:50 +00:00
|
|
|
|
|
|
|
echo "Installed Hugo:"
|
2018-05-01 16:14:16 +00:00
|
|
|
hugo version
|
|
|
|
|
2021-07-07 08:29:26 +00:00
|
|
|
# These installs could be moved to the Dockerfile
|
|
|
|
apt-get update && apt-get --no-install-recommends install -y texlive-luatex fonts-font-awesome
|
|
|
|
|
2018-05-01 16:14:16 +00:00
|
|
|
# Latex
|
2018-05-01 17:59:43 +00:00
|
|
|
latexdir=/root/texmf/tex/latex
|
2018-05-01 21:42:07 +00:00
|
|
|
mkdir -p $latexdir
|
2018-05-01 16:22:50 +00:00
|
|
|
echo "Install altacv"
|
2018-05-01 17:59:43 +00:00
|
|
|
wget https://github.com/Titan-C/AltaCV/archive/sections.zip
|
|
|
|
unzip -j sections.zip -d $latexdir/AltaCV
|
2018-05-01 16:51:00 +00:00
|
|
|
echo "Install moderncv"
|
2018-05-01 17:59:43 +00:00
|
|
|
wget https://github.com/Titan-C/moderncv/archive/master.zip
|
|
|
|
unzip -j master.zip -d $latexdir/moderncv
|
2021-07-07 08:29:26 +00:00
|
|
|
echo "Install AwesomeCV"
|
|
|
|
wget -O awesomecv.zip https://github.com/posquit0/Awesome-CV/archive/refs/heads/master.zip
|
|
|
|
unzip awesomecv.zip -d $latexdir
|