-
Notifications
You must be signed in to change notification settings - Fork 161
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'dev' into flag_feature
- Loading branch information
Showing
138 changed files
with
5,585 additions
and
6,148 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
12 | ||
16 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -200,6 +200,11 @@ | |
margin-right: $length-10; | ||
} | ||
|
||
ul, | ||
ol { | ||
margin-right: $length-10; | ||
} | ||
|
||
figure { | ||
p, | ||
blockquote { | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,51 @@ | ||
======================== | ||
Installation dans Docker | ||
======================== | ||
|
||
|
||
.. note:: | ||
|
||
Par manque de développeurs utilisant Docker au sein de l'équipe de | ||
développement de ZdS, cette section n'est guère fournie. Les instructions | ||
données ici ne le sont qu'à titre indicatif. N'hésitez pas à signaler tout | ||
problème ou proposer des améliorations ! | ||
|
||
L'installation de l'environnement de développement dans Docker se base sur `l'installation sous Linux <install-linux.html>`_. | ||
|
||
Lancez un shell interactif dans un conteneur basé sur Debian : | ||
|
||
.. sourcecode:: bash | ||
|
||
docker run -it -p 8000:8000 debian:bullseye | ||
|
||
|
||
Une fois dans le conteneur, saisissez les commandes suivantes : | ||
|
||
.. sourcecode:: bash | ||
|
||
# On se place dans le $HOME | ||
cd | ||
|
||
# Permet d'utiliser correctement apt | ||
DEBIAN_FRONTEND=noninteractive | ||
|
||
# Installez les paquets minimaux requis | ||
apt update | ||
apt install sudo make vim git | ||
|
||
# Clonez le dépôt de ZdS | ||
git clone https://github.com/<votre login>/zds-site.git | ||
cd zds-site/ | ||
|
||
# Installez ZdS | ||
make install-linux | ||
|
||
# Nécessaire pour avoir nvm dans le PATH | ||
source ../.bashrc | ||
|
||
# À partir de maintenant, les commandes ne sont plus spécifiques à l'utilisation de Docker. | ||
|
||
# Lancement de ZdS | ||
source zdsenv/bin/activate | ||
make zmd-start | ||
make run-back |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,27 +1,27 @@ | ||
- factory: zds.utils.factories.HelpWritingFactory | ||
- factory: zds.utils.tests.factories.HelpWritingFactory | ||
fields: | ||
title: "Rédacteur" | ||
tablelabel: "Besoin d'aide pour la rédaction" | ||
slug: "redacteur" | ||
fixture_image_path: "aide_redacteur.png" | ||
|
||
- factory: zds.utils.factories.HelpWritingFactory | ||
- factory: zds.utils.tests.factories.HelpWritingFactory | ||
fields: | ||
title: "Correcteur" | ||
tablelabel: "Besoin d'aide pour la correction" | ||
slug: "correcteur" | ||
fixture_image_path: "aide_correcteur.png" | ||
|
||
- factory: zds.utils.factories.HelpWritingFactory | ||
- factory: zds.utils.tests.factories.HelpWritingFactory | ||
fields: | ||
title: "Illustrateur" | ||
tablelabel: "Besoin d'aide pour l'illustration" | ||
slug: "illustrateur" | ||
fixture_image_path: "aide_illustrateur.png" | ||
|
||
- factory: zds.utils.factories.HelpWritingFactory | ||
- factory: zds.utils.tests.factories.HelpWritingFactory | ||
fields: | ||
title: "Repreneur" | ||
tablelabel: "Cherche un repreneur" | ||
slug: "repreneur" | ||
fixture_image_path: "aide_repreneur.png" | ||
fixture_image_path: "aide_repreneur.png" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,12 +1,12 @@ | ||
-r requirements.txt | ||
|
||
black==21.8b0 # needs to be also updated in .github/workflows/ci.yml and .pre-commit-config.yaml | ||
colorlog==6.4.1 | ||
django-debug-toolbar==3.2.2 | ||
django-extensions==3.1.3 | ||
Faker==8.12.1 | ||
pre-commit==2.15.0 | ||
PyYAML==5.4.1 | ||
black==21.12b0 # needs to be also updated in .github/workflows/ci.yml and .pre-commit-config.yaml | ||
colorlog==6.6.0 | ||
django-debug-toolbar==3.2.4 | ||
django-extensions==3.1.5 | ||
Faker==10.0.0 | ||
pre-commit==2.16.0 | ||
PyYAML==6.0 | ||
selenium==3.141.0 | ||
Sphinx==4.2.0 | ||
Sphinx==4.3.2 | ||
sphinx_rtd_theme==1.0.0 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
-r requirements.txt | ||
|
||
gunicorn==20.1.0 | ||
mysqlclient==2.0.3 | ||
sentry-sdk==1.3.1 | ||
ujson==4.1.0 | ||
mysqlclient==2.1.0 | ||
sentry-sdk==1.5.1 | ||
ujson==5.1.0 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.