Skip to content

Commit 0ac55a9

Browse files
authored
Merge branch 'master' into update-readme-1793
2 parents 07b9f94 + 15b70fa commit 0ac55a9

File tree

54 files changed

+204
-453
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

54 files changed

+204
-453
lines changed

.github/workflows/deploy.yml

Lines changed: 30 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,27 +1,47 @@
1+
---
12
name: Build and Deploy
3+
24
on:
35
push:
46
branches:
57
- master
68

9+
permissions:
10+
contents: read
11+
pages: write
12+
id-token: write
13+
14+
concurrency:
15+
group: "pages"
16+
cancel-in-progress: true
17+
718
jobs:
8-
build-and-deploy:
19+
build:
920
runs-on: ubuntu-latest
10-
if: github.repository == 'djangogirls/tutorial'
1121
steps:
1222
- name: Checkout
13-
uses: actions/checkout@v2
23+
uses: actions/checkout@v4
1424
with:
1525
persist-credentials: false
16-
1726
- name: Install and Build
1827
run: |
1928
npm install
2029
npx honkit build
21-
22-
- name: Deploy
23-
uses: JamesIves/github-pages-deploy-action@releases/v3
30+
- name: Upload artifact
31+
uses: actions/upload-pages-artifact@v3
2432
with:
25-
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
26-
BRANCH: gh-pages
27-
FOLDER: _book
33+
path: _book
34+
35+
deploy:
36+
needs: build
37+
permissions:
38+
pages: write
39+
id-token: write
40+
environment:
41+
name: github-pages
42+
url: ${{ steps.deployment.outputs.page_url }}
43+
runs-on: ubuntu-latest
44+
steps:
45+
- name: Deploy to GitHub Pages
46+
id: deployment
47+
uses: actions/deploy-pages@v4

.github/workflows/test.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ jobs:
77
runs-on: ubuntu-latest
88
steps:
99
- name: Checkout
10-
uses: actions/checkout@v2
10+
uses: actions/checkout@v4
1111
with:
1212
persist-credentials: false
1313

README.md

Lines changed: 21 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,25 @@
11
# Django Girls Tutorial
22

3-
This is the source code repository for the Django Girls Tutorial. Django Girls Tutorial is used on [tutorial.djangogirls.org](http://tutorial.djangogirls.org) so if you want to read it, please go there. If you want to contribute please do go further with this file.
3+
~ 🖥 Source Code 🖥 ~
44

5+
**NOT** intended for reading here. To read go to: [📖 tutorial.djangogirls.org 📖](https://tutorial.djangogirls.org)
6+
7+
# Contribution QUICKSTART
8+
9+
1. Fork this repo [[fork](#fork-the-repository)]
10+
11+
> 2. **[Small changes](#simple-changes)**: you can now edit your fork on the github website, do this! Make a change, then [create a pull request](#making-a-pull-request)!
12+
13+
2. **[Big changes](#new-content-and-complex-changes)**: clone your fork locally.
14+
3. [CLI](#cli-for-development) run `make dev` in repo.
15+
16+
```
17+
$ make dev
18+
...
19+
Serving book on http://localhost:4000
20+
```
21+
22+
Note: we have many changes under way we maybe working on your request already! Refer to existing [Pull requests](https://github.com/DjangoGirls/tutorial/pulls).
523

624
# How to contribute
725

@@ -34,7 +52,7 @@ First fork the [DjangoGirls/tutorial](https://github.com/DjangoGirls/tutorial) r
3452

3553
## CLI for Development
3654

37-
This command line tool use `make` to create development environment. It is optional to use this tool. While building the document, it builds the document for every language. The build process can be limited to any one language using this tool and reduce build time considerbly. Afterwards, the translation to other languages are done from crowdin localization process.
55+
This command line tool use `make` to create development environment. It is optional to use this tool. While building the document, it builds the document for every language. The build process can be limited to any one language using this tool and reduce build time considerably. Afterwards, the translation to other languages are done from crowdin localization process.
3856

3957
Usage instructions are available though `make help` command.
4058

@@ -136,8 +154,7 @@ should be made to the `restructure-tutorial`.
136154
All other steps for creating a pull request are the same as those outlined in the section on [making a pull request below](#making-a-pull-request), just make sure you make the pull request against the `restructure-tutorial` branch.
137155

138156
# Making a pull request {#making-a-pull-request}
139-
140-
After you have finished your changes you need to create [a pull request](https://help.github.com/articles/using-pull-requests) on GitHub. DjangoGirls will get notified about the pull request, review your changes, suggest any corrections if needed and then *pull* your changes to the master version.
157+
After you have finished your changes you need to [create a pull request](https://docs.github.com/en/pull-requests/collaborating-with-pull-requests/proposing-changes-to-your-work-with-pull-requests/creating-a-pull-request) on GitHub. DjangoGirls will get notified about the pull request, review your changes, suggest any corrections if needed and then *pull* your changes to the master version.
141158

142159
In your own repository on GitHub press do *Compare & pull request*
143160

book.json

Lines changed: 27 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,14 @@
11
{
22
"gitbook": ">=3.2.0",
33
"variables": {
4-
"py_version": "3.8",
5-
"py_release": "3.8.6",
6-
"py_min_version": "3.6",
7-
"py_min_release": "3.6.8",
8-
"pa_py_version": "3.8",
9-
"django_version": "3.2.10"
4+
"py_version": "3.12",
5+
"py_release": "3.12.3",
6+
"py_min_version": "3.9",
7+
"py_min_release": "3.9.19",
8+
"pa_py_version": "3.10",
9+
"django_version": "4.2.11"
1010
},
1111
"links": {
12-
"sidebar": {
13-
"Need help? Talk to us!": "https://gitter.im/DjangoGirls/tutorial"
14-
}
1512
},
1613
"pdf": {
1714
"fontSize": 16
@@ -44,22 +41,28 @@
4441
"ads": [
4542
{
4643
"imageUrl": "https://djangogirls.org/static/img/global/donate/lagos.jpg",
47-
"url": "https://www.patreon.com/djangogirls",
48-
"description": "💖 Support our work and donate to our project! ✨",
49-
"btnText": "Donate now!"
50-
},
51-
{
52-
"imageUrl": "https://posthog.com/static/1cf376d3f6ea36d7fafb9b1c50110603/0b2f4/hosthog-banner.webp",
53-
"url": "https://posthog.com/",
54-
"description": "💖 PostHog offers a suite of product analysis tools! ✨",
55-
"btnText": "Learn more!"
44+
"url": "https://surveys.jetbrains.com/s3/w-django-girls-survey-2024",
45+
"description": "💖 Celebrate 10 years with us. Fill our survey! ✨",
46+
"btnText": "Fill in now!"
5647
},
5748
{
5849
"imageUrl": "https://static.djangoproject.com/img/logos/django-logo-negative.png",
5950
"url": "https://www.djangoproject.com/",
6051
"description": "💖 The DSF supports the development of Django! ✨",
6152
"btnText": "Learn more!"
6253
},
54+
{
55+
"imageUrl": "https://djangogirls.org/static/img/global/supporters/DO_Logo_Vertical_Blue.png",
56+
"url": "https://www.digitalocean.com/",
57+
"description": "💖 DigitalOcean simplifies cloud computing! ✨",
58+
"btnText": "Learn more!"
59+
},
60+
{
61+
"imageUrl": "https://djangogirls.org/uploads/uploads/posthog.png",
62+
"url": "https://posthog.com/",
63+
"description": "💖 PostHog offers a suite of product analysis tools! ✨",
64+
"btnText": "Learn more!"
65+
},
6366
{
6467
"imageUrl": "https://djangogirls.org/uploads/uploads/lincolnloop.png",
6568
"url": "https://lincolnloop.com/",
@@ -78,6 +81,12 @@
7881
"description": "💖 Host, run, and code Python in the cloud! ✨",
7982
"btnText": "Learn more! "
8083
},
84+
{
85+
"imageUrl": "https://djangogirls.org/static/img/global/donate/lagos.jpg",
86+
"url": "https://www.patreon.com/djangogirls",
87+
"description": "💖 Support our work and donate to our project! ✨",
88+
"btnText": "Donate now!"
89+
},
8190
{
8291
"imageUrl": "https://djangogirls.org/static/img/global/donate/tshirt.jpg",
8392
"url": "https://djangogirls.org/en/contact/",

de/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ In jedem Kapitel, das bereits mit Video unterstützt wird, gibt es einen Link au
4040

4141
## Über uns und wie du mithelfen kannst
4242

43-
Dieses Tutorial wird von [DjangoGirls](https://djangogirls.org/) betreut. Solltest du Fehler finden oder das Tutorial aktualisieren wollen, dann folge den [Richtlinien zum Mitarbeiten](https://github.com/DjangoGirls/tutorial/blob/master/CONTRIBUTING.md).
43+
Dieses Tutorial wird von [DjangoGirls](https://djangogirls.org/) betreut. Solltest du Fehler finden oder das Tutorial aktualisieren wollen, dann folge den [Richtlinien zum Mitarbeiten](https://github.com/DjangoGirls/tutorial/blob/master/README.md).
4444

4545
## Möchtest du uns helfen, das Tutorial in andere Sprachen zu übersetzen?
4646

de/python_installation/instructions.md

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -47,10 +47,10 @@ data-collapse=true ces-->
4747
Es ist ziemlich wahrscheinlich, dass du Python schon automatisch installiert hast. Um herauszufinden, ob das so ist (und wenn ja, welche Version du hast), öffne eine Konsole und gib das folgende Kommando ein:
4848

4949
{% filename %}command-line{% endfilename %}
50-
51-
$ python3 --version
52-
Python {{ book.py_release }}
53-
50+
```
51+
$ python3 --version
52+
Python {{ book.py_release }}
53+
```
5454

5555
Wenn du eine andere Version von Python installiert hast, die {{ book.py_min_version }} oder höher ist, z.B. {{ book.py_min_release }}, dann musst du die Version nicht aktualisieren. Wenn du Python noch nicht installiert hast oder wenn du eine andere Python-Version willst, prüfe zuerst mit folgendem Befehl, welche Linux-Distribution du benutzt:
5656

@@ -103,15 +103,15 @@ Gib diesen Befehl in die Konsole ein:
103103
Prüfe, ob die Installation erfolgreich war, indem du ein Kommandozeilenfenster öffnest und den `python3`-Befehl ausführst:
104104

105105
{% filename %}command-line{% endfilename %}
106-
107-
$ python3 --version
108-
Python {{ book.py_release }}
109-
106+
```
107+
$ python3 --version
108+
Python {{ book.py_release }}
109+
```
110110

111111
Die angezeigte Version kann bei dir eine andere sein als {{ book.py_release }} -- sie sollte aber der entsprechen, die du installiert hast.
112112

113113
**Hinweis:** Wenn du unter Windows eine Fehlermeldung bekommst, dass `python3` nicht gefunden wurde, versuche es mit `python` (ohne die `3`) und prüfe, ob es dennoch eine Version von Python {{ book.py_min_version }} oder höher ist. Wenn auch das nicht funktioniert, kannst du ein neues Kommandozeilenfenster öffnen und es dort erneut versuchen; dies geschieht, wenn du ein Kommandozeilenfenster verwendet, das schon vor der Python-Installation geöffnet war.
114114

115115
* * *
116116

117-
Wenn es Unklarheiten gibt oder wenn etwas schief ging und du nicht weiter weißt, frage bitte deinen Coach! Manchmal laufen die Dinge einfach nicht so glatt und dann ist es besser, jemanden mit mehr Erfahrung um Hilfe zu bitten.
117+
Wenn es Unklarheiten gibt oder wenn etwas schief ging und du nicht weiter weißt, frage bitte deinen Coach! Manchmal laufen die Dinge einfach nicht so glatt und dann ist es besser, jemanden mit mehr Erfahrung um Hilfe zu bitten.
30.1 KB
Loading

en/README.md

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
# Django Girls Tutorial
2-
[![Gitter](https://badges.gitter.im/DjangoGirls/tutorial.svg)](https://gitter.im/DjangoGirls/tutorial)
32

43
> This work is licensed under the Creative Commons Attribution-ShareAlike 4.0 International License.
54
> To view a copy of this license, visit https://creativecommons.org/licenses/by-sa/4.0/
@@ -27,8 +26,6 @@ It will (more or less) look like this:
2726

2827
![Figure 0.1](images/application.png)
2928

30-
> If you work with the tutorial on your own and don't have a coach who will help you in case of any problem, we have a chat system for you: [![Gitter](https://badges.gitter.im/DjangoGirls/tutorial.svg)](https://gitter.im/DjangoGirls/tutorial). We asked our coaches and previous attendees to be there from time to time and help others with the tutorial! Don't be afraid to ask your question there!
31-
3229
OK, [let's start at the beginning…](./how_the_internet_works/README.md)
3330

3431
## Following the tutorial at home

en/SUMMARY.md

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@
22

33
* [Introduction](README.md)
44
* [Installation](installation/README.md)
5-
* [Installation (RunCode Cloud)](cloud_development_setup/README.md)
65
* [Installation (Chromebook)](chromebook_setup/README.md)
76
* [Installation (OS X/Windows/Linux)](installation/README.md#osx-windows-linux)
87
* [Command Line](installation/README.md#intro-command-line)
Loading

0 commit comments

Comments
 (0)