===== Website ===== ==== Tools ==== ''%%pip install Liara%%'' eller ''%%pip install --user Liara%%'' (minst version 2.3.1) [[https://liara-web.readthedocs.io/en/latest/|liara documentation]] ==== Repository ==== ''%%git clone ssh://dittnamn@psilocybe.update.uu.se/update/projekt/website/website.git%%'' ''%%git config user.email "dittnamn@update.uu.se"%%'' (optional) ==== Redigera ==== ''cd website'' Redigera nu: * Texterna i ''content'' * obs: engelska version i ''content/en'' * html-templaterna i ''templates'' * CSS-stylesheeten i ''templates/resources'' * olika (statiska) filer i ''static'' ==== Testa ==== ''%%liara serve%%'' eller ''%%liara serve --no-browser%%'' ==== Publicera ==== ''%%liara build%%'' ''%%rsync --archive -L --group=update --stats --progress ./output/ dittnamn@psilocybe.update.uu.se:/update/apache/www.update.uu.se/%%'' ''%%git add nyfil1 nyfil2%%'' ''%%git commit%%'' ''%%git push%%''