Skip to content
Snippets Groups Projects
Commit c07d7aab authored by Vincent Mazenod's avatar Vincent Mazenod
Browse files

update content

parent 1e4d5dd7
No related branches found
No related tags found
No related merge requests found
......@@ -7,23 +7,6 @@ cache:
build:
stage: build
script:
# dépendances pelican thèmes
- apt update
- apt-get install -y --force-yes build-essential python-dev python-pip git nodejs nodejs-legacy npm
- pip install --upgrade pip==9.0.3
- pip install -r requirements.txt
- cd content && npm install && cd ..
- sed -i "s/RELATIVE_URLS = True/RELATIVE_URLS = False/" pelicanconf.py
- apt-get install -y --force-yes locales
- locale-gen fr_FR
- locale-gen fr_FR.UTF-8
- update-locale LANG=fr_FR.UTF-8
- . /etc/default/locale
# génération du HTML statique dans le répertoire output
- pelican content
# dépendance pour l'authentification kerberos
- echo -e "krb5-config krb5-config/default_realm string LOCAL.ISIMA.FR" | debconf-set-selections
- apt-get install -y --force-yes krb5-user krb5-config
# récupération du KEYTAB en hexa
- echo "$KEYTAB" > my.keytab.hex
# conversion du KEYTAB en hexa en binaire
......@@ -43,7 +26,6 @@ build:
- ssh -o StrictHostKeyChecking=no -K vimazeno@perso.local.isima.fr "echo ' Header set Content-Disposition attachment' >> ~/public_html/_/.htaccess"
- ssh -o StrictHostKeyChecking=no -K vimazeno@perso.local.isima.fr "echo '</FilesMatch>' >> ~/public_html/_/.htaccess"
# rsync du HTML statique généré
- apt-get install -y --force-yes rsync
- rsync -az --exclude '_' -e "ssh -o StrictHostKeyChecking=no -K" output/ vimazeno@perso.local.isima.fr:~/public_html/
- ssh -o StrictHostKeyChecking=no -K vimazeno@perso.local.isima.fr "mkdir -p ~/public_html/node_modules"
- rsync -az -e "ssh -o StrictHostKeyChecking=no -K" content/node_modules/ vimazeno@perso.local.isima.fr:~/public_html/node_modules
......
......@@ -7,7 +7,7 @@ save_as: index.html
url: index.html
Number: 2
## <i class="fas fa-desktop"></i> Ingénieur d'&Eacute;tude Informatique au CNRS <a class="expand btn btn-primary float-right">version courte</a>
## <i class="fas fa-desktop"></i> Ingénieur de Recherche Informatique au CNRS <a class="expand btn btn-primary float-right">version courte</a>
### "You can't defend. You can't prevent. The only thing you can do is detect and respond." *Bruce Schneier*
......
......@@ -4,7 +4,7 @@ from __future__ import unicode_literals
import os
AUTHOR = 'Vincent Mazenod'
SITENAME = 'Vincent Mazenod / ingénieur d\'études'
SITENAME = 'Vincent Mazenod / ingénieur de recherche'
SITELOGO = 'images/mazenovi.png'
OIMPHOTO = 'images/oim.png'
FAVICON = 'images/favicon.ico'
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment