Commit Graph

267 Commits

Author SHA1 Message Date
Fred ec7d5825de Explains a basic Django cycle
continuous-integration/drone/push Build is passing Details
2020-12-18 21:35:00 +01:00
Fred Pauchet efdcda2ec2 Add a global 'how it works' schema
continuous-integration/drone/push Build is passing Details
2020-12-17 21:32:07 +01:00
Fred Pauchet fdea1e535c Describe tox.ini file 2020-12-17 20:55:53 +01:00
Fred Pauchet a82558a141 Wrong [source,<type>] 2020-12-17 20:18:15 +01:00
Fred cb01c70628 Just a quick reminder to talk about 'good commit msg'
continuous-integration/drone/push Build is passing Details
continuous-integration/drone/tag Build is passing Details
2020-12-16 21:36:54 +01:00
Fred 86bd6fbfda Move several files to make 'django' section more consistent
* Delete venvs.adoc and merge it with 'working in isolation'
* Delete tools.adoc and merge it with 'the python language'
* Move migrations to django concepts
* Move unit_tests to django concepts
2020-12-16 21:33:45 +01:00
Fred 40c01c9a87 Refactors 2 diagrams (gwift & khana) to match django apps 2020-12-16 20:22:28 +01:00
Fred Pauchet 2cc3c152bd Reread Django part 1
continuous-integration/drone/push Build is passing Details
continuous-integration/drone/tag Build is passing Details
2020-12-15 21:37:26 +01:00
Fred b98cc1ef3b Review django installation part
continuous-integration/drone/push Build is passing Details
2020-12-15 20:55:13 +01:00
Fred Pauchet b44b60dccc Rewrite a little bit of 'working in isolation'
continuous-integration/drone/push Build is passing Details
2020-12-15 17:04:33 +01:00
Fred Pauchet 90289b4444 Delete (and integrate) external_tools and python.adoc 2020-12-15 16:59:33 +01:00
Fred Pauchet 38ac5be636 Delete documentation.adoc
continuous-integration/drone/push Build is passing Details
2020-12-15 16:56:20 +01:00
Fred Pauchet 790f774eb9 Write "documentation" section 2020-12-15 16:41:40 +01:00
Fred Pauchet f4dd9633be Finalize git (with examples)
continuous-integration/drone/push Build is failing Details
2020-12-15 13:15:14 +01:00
Fred Pauchet ee29769649 Finalize Git review 2020-12-15 13:10:07 +01:00
Fred 89f032228f Review SOLID (but still needs some work)
continuous-integration/drone/push Build is passing Details
2020-12-14 21:09:20 +01:00
Fred 7ff40c4167 Review 'building maintainable applications'
continuous-integration/drone/push Build is passing Details
2020-12-14 20:34:39 +01:00
Fred c8237667fe Finish a full review of part 1 - 12 factors
continuous-integration/drone/push Build is passing Details
2020-12-14 20:21:22 +01:00
Fred 124111f110 Add a new diagram for a basic git workflow
continuous-integration/drone/push Build is passing Details
2020-12-14 13:56:05 +01:00
Fred Pauchet c32140eb3f Review 12 factors -> #7
continuous-integration/drone/push Build is passing Details
2020-12-13 21:30:00 +01:00
Fred Pauchet caecdcf428 Rework introduction 2020-12-13 15:02:24 +01:00
Fred 9ef2a9e2b7 Mise à jour de 'source/part-3-django-concepts/queryset.adoc'
continuous-integration/drone/push Build is passing Details
2020-12-04 11:28:53 +01:00
Fred cd371ceb57 Ajouter 'source/part-3-django-concepts/queryset.adoc'
continuous-integration/drone/push Build is passing Details
2020-12-04 11:13:06 +01:00
Fred ff8b436fb9 Mise à jour de 'source/part-3-django-concepts/logging.adoc'
continuous-integration/drone/push Build is passing Details
2020-11-30 16:11:04 +01:00
Fred Pauchet d087f0726b Include images :D
continuous-integration/drone/push Build is passing Details
2020-11-28 21:58:58 +01:00
Fred Pauchet ca4451cc24 Include images :D 2020-11-28 21:57:42 +01:00
Fred Pauchet e110d9338d Still need to talk about Let's encrypt...
continuous-integration/drone/push Build is passing Details
2020-11-27 22:20:38 +01:00
Fred Pauchet 6236d5d52a Prepare battlefield for debian deployment
continuous-integration/drone/push Build is passing Details
2020-11-27 22:19:47 +01:00
Fred Pauchet 05166ccb87 Merge from master 2020-11-27 21:57:24 +01:00
Fred Pauchet cf1a7f2c1a Rework deployment
continuous-integration/drone/push Build is passing Details
2020-11-24 21:40:34 +01:00
fred ecad0cfe23 Mise à jour de 'source/part-3-django-concepts/models.adoc' 2020-09-13 19:23:17 +02:00
fred 4eea327af1 Mise à jour de 'source/part-3-django-concepts/models.adoc' 2020-09-13 19:21:32 +02:00
fred 585d4b3b7e Mise à jour de 'source/part-3-django-concepts/models.adoc' 2020-09-13 19:20:38 +02:00
fred 87438b6892 Ajouter 'source/part-2-deployment/docker.adoc' 2020-09-13 16:27:48 +02:00
fred 3f220a82b8 Mise à jour de 'source/part-3-django-concepts/templates.adoc' 2020-09-13 16:23:59 +02:00
fred 777f5a89b2 Mise à jour de 'source/part-3-django-concepts/models.adoc' 2020-09-11 15:18:43 +02:00
Fred Pauchet aff3366c0c Integrates Gwift right into Django-concepts, for a better illustration. 2020-09-08 20:32:34 +02:00
Fred Pauchet 49bce428c8 Finalises 12factors explanation. 2020-09-04 21:58:11 +02:00
Fred Pauchet 624e9318ba Continues to describe the 12 factors. 2020-09-03 21:36:17 +02:00
Fred Pauchet 8d8b6c27a3 Describes 12-factors, maintainable applications and a small introduction to environment. 2020-09-01 21:52:29 +02:00
Fred Pauchet 7a37981d10 Describes the environment. 2020-09-01 21:24:46 +02:00
Fred Pauchet bb7743459d Merges from master. 2020-08-31 21:45:56 +02:00
Fred Pauchet 6da434459b Adds a bunch of modification based
on GNU/Linux Magazine HS 109.
2020-08-31 21:42:20 +02:00
fred 951ecf07e3 Mise à jour de 'source/part-2-deployment/infrastructure.adoc' 2020-08-15 19:32:20 +02:00
fred b88aa51034 Mise à jour de 'source/part-2-deployment/00-main.adoc' 2020-05-02 16:43:16 +02:00
fred ca8b440c40 Supprimer 'source/part-2-deployment/voir-aussi.md' 2020-05-02 10:33:45 +02:00
fred e8876dcb2c Ajouter 'source/part-2-deployment/voir-aussi.md' 2020-05-02 10:30:40 +02:00
fred 55ebb3ca1d Mise à jour de 'source/part-3-django-concepts/template-tag.adoc' 2020-04-24 10:52:30 +02:00
fred e30149881d Mise à jour de 'source/part-1-workspace/unit_tests.adoc' 2020-04-22 07:32:04 +02:00
fred 40c1f97264 Mise à jour de 'source/part-9-bonus/00-main.adoc' 2020-04-19 19:06:01 +02:00
Fred Pauchet 43ea71941a structure architecture and software flow 2020-04-14 21:49:49 +02:00
Fred Pauchet 050b241646 switch pdf text admonitions to font awesome 2020-04-14 21:49:20 +02:00
Fred fadd7c592d fixing part-3-django content 2020-04-13 15:01:36 +02:00
Fred fec56cfb3d fetch old django content 2020-04-12 20:36:46 +02:00
Fred 326b3571b8 change makefile to delete sphinx and switch to asciidoc 2020-04-11 21:36:03 +02:00
Fred f0e3735fb3 working on models, admin and forms 2020-04-11 21:28:52 +02:00
Fred f28c650446 finished reviewed of part 2 - deployment 2020-04-11 10:23:57 +02:00
Fred b422705c44 fetch texts for unit tests 2020-04-11 09:27:05 +02:00
Fred b8531ae8f1 reorganize files 2020-04-11 09:23:28 +02:00
fred d00c494614 Mise à jour de 'source/part-1-workspace/django.adoc' 2020-04-10 11:06:32 +02:00
fred 61ae47499c Mise à jour de 'source/part-2-deployment/centos+debian.adoc'
Ajout d'un paragraphe sur la rotation des logs
2020-04-10 07:31:44 +02:00
fred 5e4f994671 Mise à jour de 'source/part-1-workspace/unit_tests.adoc' 2020-04-08 14:25:35 +02:00
fred 7fe206cfec Mise à jour de 'source/part-1-workspace/tools.adoc' 2020-04-06 13:32:31 +02:00
Fred ccf93ae1bd working on django 2020-04-05 11:49:29 +02:00
Fred 0ea6737d3b rework part1 2020-04-05 11:26:19 +02:00
Fred a88c816fb8 Merge branch 'master' of grimbox.be:fred/gwift-book 2020-04-04 21:48:03 +02:00
Fred 5ea82e0af6 reworks parts 2020-04-04 21:47:53 +02:00
fred 43a4109dc5 Ajouter 'source/django/template-tag.adoc' 2020-03-20 15:50:32 +01:00
fred 73cd400f30 Mise à jour de 'source/django/auth.adoc' 2020-03-20 14:05:07 +01:00
Fred 5a027cba52 rst - adoc 2020-02-17 20:45:39 +01:00
Fred Pauchet 8eb38628d0 finish migration to adoc 2020-02-16 21:11:51 +01:00
Fred Pauchet 3b60990c13 migrate rst structure to adoc 2020-02-14 21:31:08 +01:00
Fred 3e652d3371 resplit parts & chapters 2020-02-03 21:53:04 +01:00
fred 1eb53515c2 Mettre à jour 'source/logging/logging.md' 2018-11-14 10:50:12 +00:00
fred 20e7680f2c Ajouter 'source/logging/logging.md' 2018-11-14 10:46:34 +00:00
fred 25695ac3fc Mettre à jour 'source/admin/advices.rst' 2018-10-01 09:34:44 +00:00
fred 7685f2ea9b Ajouter 'source/orm/queryset.rst' 2018-10-01 06:40:52 +00:00
Fred Pauchet 79d55a73e7 working on models, modelmanager and text presentation 2017-03-19 21:07:14 +01:00
Fred Pauchet f8b948e769 finish first pass rereading for the 1st chapter 2017-03-19 20:40:48 +01:00
Fred Pauchet cd9bf4beed complete introduction and add todo on venvs 2017-03-19 20:24:15 +01:00
Fred Pauchet a1e9f3eeb6 replace some points directly beneath gwift chapter 2017-03-15 21:05:49 +01:00
Fred Pauchet bbe67bf854 update to v0.2 2017-03-15 20:17:10 +01:00
Fred Pauchet 6095ecd5ac add ref to building maintenable software 2017-03-15 18:29:40 +01:00
Fred Pauchet b9e60c26c8 code coverage, mccabe complexity and unit tests 2017-03-04 11:50:54 +01:00
Fred Pauchet 47b0d70804 change unknown lexer name 2017-02-24 13:00:23 +01:00
Fred Pauchet b9afc321a4 Merge branch 'master' of https://git.framasoft.org/Grimbox/gwift-book 2016-06-03 14:16:26 +02:00
Fred Pauchet 21d4278373 models and tests 2016-06-03 14:16:10 +02:00
Fred cc61baa80d small modifications 2016-05-31 21:00:59 +02:00
Fred b3c4351a2b update chapter 01 2016-05-31 20:56:38 +02:00
Fred d62ae49b10 Merge branch 'master' of git.framasoft.org:Grimbox/gwift-book 2016-05-31 20:50:16 +02:00
Fred 41e31d41d7 change gwift to src 2016-05-31 20:50:06 +02:00
Fred Pauchet c01a754c31 Merge branch 'master' of https://git.framasoft.org/Grimbox/gwift-book 2016-05-25 12:45:37 +02:00
Fred Pauchet 5015bbaf88 add tests - copy/paste from a link 2016-05-25 12:45:18 +02:00
Fred 9f3b6064d4 oauth 2016-05-15 22:56:16 +02:00
Fred e15041342c add a little bit of auth 2016-05-15 22:36:13 +02:00
jaguarondi 7d95f37c36 misspelling 2016-05-15 21:37:32 +02:00
jaguarondi 8bb5ec1730 Update production 2016-05-15 21:26:57 +02:00
Fred Pauchet c22dfe89fd add reverse_url func 2016-05-12 11:46:52 +02:00
Fred Pauchet e4c8a24855 django-admin-honeypot 2016-05-11 15:37:26 +02:00
Fred Pauchet 375cb79054 added links for qs and managers 2016-05-10 11:06:43 +02:00
Fred 7b1384a428 the forms awaken 2016-05-09 22:17:10 +02:00
Fred Pauchet 0057f8b16b add {% extends 'base.html' %} for wish/list.html 2016-05-02 13:47:23 +02:00
Fred Pauchet 791d2cadbe change layout of the application 2016-05-02 13:44:10 +02:00
unknown 706b5cb4dd Merge branch 'templates' 2016-05-02 11:26:32 +02:00
Fred 485ba73282 static files 2016-05-01 21:38:22 +02:00
jaguarondi 25d36e3ef4 Add setproctitle in production to have title for gunicorn processes 2016-04-30 09:03:04 +02:00
Fred Pauchet 568e4b51c0 Merge branch 'master' of https://git.framasoft.org/Grimbox/gwift-book 2016-04-28 14:38:18 +02:00
Fred Pauchet 899508cf2d add summary with cookiecutter 2016-04-28 14:37:58 +02:00
Fred 264065ee07 fix image path 2016-04-27 21:36:21 +02:00
jaguarondi 4bdb38c702 Misspelling 2016-04-27 19:54:58 +02:00
Fred Pauchet 6deecb2c3f include forms data 2016-04-27 12:02:47 +02:00
Fred Pauchet 70b90f4f81 add supervisord template config 2016-04-27 11:58:07 +02:00
Fred Pauchet 19295c165c nginx & pagespeed conf 2016-04-27 11:17:16 +02:00
Fred Pauchet e2e4a22821 fix typos 2016-04-27 08:29:16 +02:00
Fred Pauchet 890d4a21e2 work on production 2016-04-27 08:19:00 +02:00
jaguarondi 8861010f02 Add allowed host for production in local.py and remove password policy that is defined in production.py 2016-04-26 21:09:52 +02:00
jaguarondi b292f81e38 misspelling 2016-04-26 16:34:55 +02:00
jaguarondi 2fbfc1b45a Change folder to the image admin_without_static 2016-04-26 16:31:50 +02:00
jaguarondi 6ac8edea4f create separated files for production 2016-04-26 16:26:56 +02:00
jaguarondi c93e1f6bec Add postgresql and environment installation in production 2016-04-26 16:24:34 +02:00
jaguarondi 95e0b0ad66 Change views to mvc in index 2016-04-25 13:12:39 +02:00
Fred Pauchet e0a03fb4d8 rename views to mvc and add content to templatetags 2016-04-22 15:59:31 +02:00
Fred Pauchet 1325f1851d change forms 2016-04-13 16:08:38 +02:00
jaguarondi faa6ffbb9d Remove gwift-env in each shell 2016-01-07 15:33:48 +01:00
jaguarondi f7fa04ce43 misspelling 2016-01-07 09:53:34 +01:00
jaguarondi 72d573af4b correct misspelling 2016-01-05 14:45:03 +01:00
jaguarondi ccda9c6337 Add gwift-env on each shell in intro 2016-01-05 14:39:30 +01:00
jaguarondi d9284d67a4 Add gwift-env on each shell in intro 2016-01-05 14:38:40 +01:00
jaguarondi 7d12b948c6 Use only virtualenvwrapper and update structure of prerequisites 2016-01-05 14:36:06 +01:00
jaguarondi 65c9b1e64d Move virtualenv in his own point 2016-01-05 13:59:29 +01:00
Fred Pauchet 49156067f9 add sphinx conf' 2015-12-29 16:04:59 +01:00
Fred Pauchet 36a34c1382 merge docs with integration/production 2015-12-29 15:59:18 +01:00
Fred Pauchet 0395aacb13 add docs chapter 2015-12-29 15:57:12 +01:00
Declerfayt Cedric 69a67a4ea2 remove before we start from index 2015-12-29 13:16:21 +01:00
Declerfayt Cedric 736832ff8e misspelling 2015-12-29 13:13:54 +01:00
Declerfayt Cedric 6d1ca9493f Add continius integration 2015-12-29 13:11:18 +01:00
Declerfayt Cedric b9f63a1bf4 Add git as version control tools 2015-12-29 13:10:47 +01:00
Declerfayt Cedric ecedab3d0e Remove before we start 2015-12-29 12:02:53 +01:00
Declerfayt Cedric fb84f07a6d Merge branch 'master' of https://git.framasoft.org/Grimbox/gwift-book 2015-12-28 14:29:49 +01:00
Declerfayt Cedric 8b2c7313ce Add ref in production. Best to create one ref file 2015-12-28 14:28:44 +01:00
Declerfayt Cedric f6842d2499 Add structure for integration and production 2015-12-28 14:19:49 +01:00
Fred Pauchet b9de8b1bd3 add link to coverage 2015-12-28 10:07:39 +01:00
Fred Pauchet 855b2318a1 add coverage instructions 2015-12-28 10:05:47 +01:00
Fred Pauchet 4a26d62c39 continue fixing double-backquotes 2015-12-28 09:32:12 +01:00
Fred Pauchet 71f3e28785 fix include admin 2015-12-28 09:31:53 +01:00
Fred Pauchet 9377cbf1da fix double back-quotes 2015-12-28 09:24:39 +01:00
Fred Pauchet 757b69b9b2 delete 'template' chapter 2015-12-28 09:20:17 +01:00
Fred Pauchet 45be47d49f use rtd theme instead of default 2015-12-28 09:11:42 +01:00
jaguarondi bb715c6132 Split models chapter in several files 2015-12-23 23:03:21 +01:00
Fred 92705cb321 tags 2015-12-22 19:54:17 +01:00