Skip to content
Snippets Groups Projects
Commit de72fb3e authored by Matthieu Boileau's avatar Matthieu Boileau
Browse files

Fix #216

parent 4d120ff4
Branches
No related tags found
No related merge requests found
# Construction du site <https://calcul.math.unistra.fr>
## Installation de Pelican et prérequis
### Git-lfs
......@@ -16,19 +15,19 @@ Il est conseillé d'utiliser [`virtualenv`](https://virtualenv.pypa.io/en/latest
On crée un virtualenv dans la racine du projet
```
```bash
virtualenv --python=python3 venv
```
On l'active
```
```bash
source venv/bin/activate
```
On install les dépendances et Pelican avec
```
```bash
pip install -r requirements.txt
```
......@@ -36,13 +35,13 @@ pip install -r requirements.txt
On crée un conda-env qui contient les dépendances
```
```bash
conda env create --file environment.yml
```
On l'active
```
```bash
conda activate calcul
```
......@@ -50,19 +49,19 @@ conda activate calcul
On se connecte au registry :
```
```bash
docker login registry.math.unistra.fr
```
On récupère l'image docker :
```
```bash
docker pull registry.math.unistra.fr/groupe-calcul/website
```
On instancie l'image en montant le répertoire courant qui doit correspondre à la racine du projet :
```
```bash
docker run --rm -ti -v $PWD:/home/calcul/website \
registry.math.unistra.fr/groupe-calcul/website
```
......@@ -73,7 +72,7 @@ registry.math.unistra.fr/groupe-calcul/website
Pour visualiser en local le rendu du site :
```
```bash
make devserver
```
......@@ -82,7 +81,7 @@ La modification d'un fichier source markdown est détectée dynamiquement par le
Le numéro du port de publication peut-être changé avec
```
```bash
make devserver PORT=8001
```
......@@ -94,7 +93,7 @@ La publication se fait par intégration continue avec GitLab-CI.
Tout est décrit par le fichier [.gitlab-ci.yml](.gitlab-ci.yml).
En combinaison avec la configuration apache de `calcul.math.unistra.fr`, le fichier `.gitlab-ci.yml` permet de publier sur une adresse qui dépend de la branche git :
- `master` publie vers <https://calcul.math.unistra.fr>
- `master` publie vers <https://calcul.math.cnrs.fr> en utilisant le service [PLMShift](http://plmshift.pages.math.cnrs.fr) de Mathrice
- les branches `dev-*` publient vers <https://calcul-dev.math.unistra.fr/dev-*>
- Toute autre `branche` listée dans le champ `apache-dev::only:` publie également vers <https://calcul-dev.math.unistra.fr/branche>
- Toute autre branche non listée est testée en construction par le job `build` mais n'est pas publiée
......@@ -107,7 +107,7 @@ Présentation du |_| groupe calcul
.. section:: Le groupement de recherche
:class: description
Le GdR Calcul s’intéresse aux nouvelles méthodes numériques et aux nouveaux algorithmes qui sont à la pointe de la
Le groupement de recherche GdR) Calcul s’intéresse aux nouvelles méthodes numériques et aux nouveaux algorithmes qui sont à la pointe de la
recherche en calcul scientifique et en calcul intensif.
Ces thématiques relèvent des mathématiques appliquées et de l'informatique mais sont également
pluri-disciplinaires (physique, chimie, biologie, etc.).
......@@ -134,6 +134,36 @@ Présentation du |_| groupe calcul
- l'arithmétique par intervalles,
- l'apprentissage machine.
.. section:: Conseil scientifique du GdR
:class: orga
Le GdR Calcul est doté d'un conseil scientifique composé de membres externes :
- Charles-Edouard Bréhier
- Jean-Baptiste Caillau
- Stéphane Cordier
- Laura Grigori
- Konrad Hinsen
- Michel Kern
- Bertrand Maury
- Gabriel Peyré
- Nathalie Revol
- Clément Pernet
- Stéphane Requena
- Nicolas M. Thiéry
et de membres du `bureau <{filename}./presentation_groupe.rst#bureau>`_ :
- Matthieu Boileau
- Anne Cadiou
- Roland Denis
- Thierry Dumont
- Benoît Fabrèges
- Loic Gouarin
- Violaine Louvet
- Marco Mancini
- Fabrice Roy
.. button:: En savoir plus
:target: ../attachments/gdr/renouvellement_GdR_Calcul_2017.pdf
:blank: True
......
......@@ -9,7 +9,8 @@ SITEURL = ''
PATH = 'content'
STATIC_PATHS = ['static/robots.txt', 'static/spip.php.py', 'static/.htaccess', 'job_offers']
STATIC_PATHS = ['static/robots.txt', 'static/spip.php.py', 'static/.htaccess',
'job_offers']
EXTRA_PATH_METADATA = {
'static/robots.txt': {'path': 'robots.txt'},
'static/spip.php.py': {'path': 'spip.php.py'},
......@@ -45,13 +46,14 @@ DEFAULT_PAGINATION = False
# RELATIVE_URLS = True
THEME = 'themes/calcul/'
DIRECT_TEMPLATES = ['index', 'categories', 'archives', 'tags', 'search'] # Defined so that the authors page is not generated
# Defined so that the authors page is not generated
DIRECT_TEMPLATES = ['index', 'categories', 'archives', 'tags', 'search']
MARKUP = ('md', 'ipynb')
PLUGIN_PATHS = ['./plugins']
PLUGINS = ['ipynb.markup', 'pelican_dynamic', 'rst_directives', 'extract_toc', 'calcul_reader', 'calcul_filters',
'rst_include', 'sitemap', 'pelican-deadlinks', 'tipue_search']
PLUGINS = ['ipynb.markup', 'pelican_dynamic', 'rst_directives', 'extract_toc',
'calcul_reader', 'calcul_filters', 'rst_include', 'sitemap',
'pelican-deadlinks', 'tipue_search']
# Useful for 'rst_include' plugin (elative to content directory)
RST_GLOBAL_INCLUDES = ['../plugins/rst_include/include.rst']
......@@ -134,12 +136,13 @@ ARTICLE_ORDER_BY = 'reversed-sort_key'
# If the selected article is finished, the last event is selected.
HIGHLIGHT_SETTINGS = {
'categories': {'journee', 'formation'}, # Filter article category
'article': 'next', # 'next' (next event), 'date' (last added), or its slug.
'article': 'next', # 'next' (next event), 'date' (last added) or its slug.
}
SUMMARY_MAX_LENGTH = 0 # Disable automatic generation of the summary
# Job offer tags (tag to name)
# If you add a tag here, you should also update the content/job_offers/add_job_offer.py script.
# If you add a tag here, you should also update
# the content/job_offers/add_job_offer.py script.
JOB_OFFER_TAGS = {
'cdi': 'CDI',
'cdd': 'CDD',
......@@ -157,4 +160,3 @@ SLUGIFY_SOURCE = 'basename'
# Don't automatically extract the category from the article's subfolder
USE_FOLDER_AS_CATEGORY = False
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment