{"id":14967680,"url":"https://github.com/8area8/docker-django-webpack","last_synced_at":"2026-01-18T17:02:26.424Z","repository":{"id":44308008,"uuid":"175841181","full_name":"8area8/docker-django-webpack","owner":"8area8","description":"[ template ] Docker, django, webpack (typescript, scss, pug) + lot of goodies","archived":false,"fork":false,"pushed_at":"2022-12-08T17:30:17.000Z","size":604,"stargazers_count":1,"open_issues_count":8,"forks_count":0,"subscribers_count":1,"default_branch":"base_project","last_synced_at":"2025-04-04T11:01:47.164Z","etag":null,"topics":["django","docker","nginx","pugjs","python","redis","selenium","typescript","vnc-viewer","webpack"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/8area8.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG","contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2019-03-15T15:01:21.000Z","updated_at":"2019-09-11T12:51:17.000Z","dependencies_parsed_at":"2023-01-25T15:01:02.704Z","dependency_job_id":null,"html_url":"https://github.com/8area8/docker-django-webpack","commit_stats":null,"previous_names":[],"tags_count":0,"template":true,"template_full_name":null,"purl":"pkg:github/8area8/docker-django-webpack","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/8area8%2Fdocker-django-webpack","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/8area8%2Fdocker-django-webpack/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/8area8%2Fdocker-django-webpack/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/8area8%2Fdocker-django-webpack/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/8area8","download_url":"https://codeload.github.com/8area8/docker-django-webpack/tar.gz/refs/heads/base_project","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/8area8%2Fdocker-django-webpack/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28543535,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-18T14:59:57.589Z","status":"ssl_error","status_checked_at":"2026-01-18T14:59:46.540Z","response_time":98,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["django","docker","nginx","pugjs","python","redis","selenium","typescript","vnc-viewer","webpack"],"created_at":"2024-09-24T13:38:27.190Z","updated_at":"2026-01-18T17:02:26.401Z","avatar_url":"https://github.com/8area8.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Docker Django Webpack\n\n\u003eNote : actuellement en français  \n\n---\n\n## 1 - Les Technologies\n\n### a. L'architecture de Docker-compose\n- Nginx (connexion sécurisée en locale et en production avec mkcert et certbot, à implémenter soi même)\n- Django Gunicorn\n- Redis\n- PostgreSQL (**pour le developpement**)\n- Selenium et Selenium-chrome (**pour le developpement**)\n\n### b. L'architecture de l'application backend\n\n- Django-otp : gère la \"Two Factor Authentication\" pour le compte admin\n- Django-debug-toolbar : panneau latéral de'informations\n- Django-redis : implémentation de Redis en cache\n- Selenium : pour les tests fonctionnels\n- Django Unittest : pour les tests unitaires et fonctionnels\n\n### c. L'architecture de l'application front-end\n\n- NPM et Webpack\n- Typescript et SCSS\n- PugJs\n- Jest\n\n\u003c!-- - Bulma (framework SASS) --\u003e\n\n### d. L'architecture de versionning\n\n\u003c!-- - OVH UX Flow (workflow) --\u003e\n\n- travis\n\n---\n\n## 2 - Installation\n\n### a. Préréquis\n\n- posséder docker et docker-compose (docker-compose v3.7)\n- Facultatif : posséder npm (nodeJs) intégré dans votre *Path* (pour les tests).\n- Facultatif : posséder VNC viewer (pour visualiser les tests Selenium).\n\n### b. La commande d'installation\n\n- Lancer `. run setup` dans votre shell bash depuis la raçine du projet.\n\n---\n\n## 3 - Commandes De Lancement\n\n\u003eCes commandes sont à entrer dans votre Shell bash à la racine du projet.\n\n### Le projet\n\n- Lancer le projet : `. run UP`. L'application est accessible depuis l'adresse `127.0.0.1`.\n\n### Les tests\n\n\u003e Le tests Django et Selenium ne peuvent se lancer qui si les conteneurs sont en fonction.\n\n- Lancer les tests Selenium : `. run djselenium`. Voir la partie \"Selenium\" pour visualiser les tests avec VNC Viewer.\n- Lancer les autres tests django : `. run djtest`.\n- Lancer les tests Jest : `. run ntest`.\n\n---\n\n## 4 - Selenium\n\nPour visualiser les tests Selenium, installez *VNC Viewer*.  \nOuvrez ensuite VNC Viewer et ajoutez une nouvelle connexion (fichier - Nouvelle connexion).  \nRemplissez les champs comme dans l'exemple:  \n  \n![VNC Viewer example](https://i.imgur.com/9Y9DPkn.png)\n  \nLancez les conteneurs si ce n'est pas déjà fait.  \nOuvrez ensuite la connexion dans VNC Viewer et entrez le mot de passe `secret`. Une nouvelle fenêtre s'ouvrira.  \nCette fenêtre donne sur le conteneur Selenium-chrome.  \nLancez enfin les tests Selenium avec la commande `. run djselenium`. Les tests seront visibles depuis la fenêtre ouverte dans VNC Viewer.  \n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2F8area8%2Fdocker-django-webpack","html_url":"https://awesome.ecosyste.ms/projects/github.com%2F8area8%2Fdocker-django-webpack","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2F8area8%2Fdocker-django-webpack/lists"}