mirror of
https://gitlab.com/Titan-C/org-cv.git
synced 2024-11-15 02:58:29 +00:00
059668cb6a
We download and install AwesomeCV. Also install the texlive-luatex and fonts-font-awesome, which are needed for AwesomeCV, which only works with XeLaTeX or LuaLaTex. NOTE: these package installs could be moved to the Dockerfile instead of doing them here.
23 lines
768 B
Bash
Executable file
23 lines
768 B
Bash
Executable file
#!/usr/bin/env bash
|
|
|
|
wget https://github.com/gohugoio/hugo/releases/download/v0.39/hugo_0.39_Linux-64bit.deb
|
|
dpkg -i hugo*.deb
|
|
|
|
echo "Installed Hugo:"
|
|
hugo version
|
|
|
|
# These installs could be moved to the Dockerfile
|
|
apt-get update && apt-get --no-install-recommends install -y texlive-luatex fonts-font-awesome
|
|
|
|
# Latex
|
|
latexdir=/root/texmf/tex/latex
|
|
mkdir -p $latexdir
|
|
echo "Install altacv"
|
|
wget https://github.com/Titan-C/AltaCV/archive/sections.zip
|
|
unzip -j sections.zip -d $latexdir/AltaCV
|
|
echo "Install moderncv"
|
|
wget https://github.com/Titan-C/moderncv/archive/master.zip
|
|
unzip -j master.zip -d $latexdir/moderncv
|
|
echo "Install AwesomeCV"
|
|
wget -O awesomecv.zip https://github.com/posquit0/Awesome-CV/archive/refs/heads/master.zip
|
|
unzip awesomecv.zip -d $latexdir
|