-
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 bugfix-6186-notifications-forum-inaccessible
- Loading branch information
Showing
36 changed files
with
837 additions
and
198 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
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
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:buster | ||
|
||
|
||
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
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
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.