Skip to content

Restructure tutorial to separate instructions based on operating system #1796

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 20 commits into
base: restructure-tutorial
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from 9 commits
Commits
Show all changes
20 commits
Select commit Hold shift + click to select a range
564152a
Switch to actions/deploy-pages
ekohl Apr 6, 2023
39b7faa
Merge pull request #1791 from ekohl/remove-need-for-gh-pages-branch
amakarudze Apr 19, 2023
00446f4
Split setup instructions and summary
amakarudze Apr 19, 2023
ab0d913
Restructure content by OS, refactor installation steps
amakarudze Apr 21, 2023
fdbbb86
Remove unnecessary files from Chromebook folder
amakarudze Apr 21, 2023
91ee4c3
Fix Python installation and introduction sections
amakarudze Apr 21, 2023
db9e969
Fix django installation instructions
amakarudze Apr 21, 2023
efe896a
Restruture content up to Python introduction
amakarudze Apr 27, 2023
8fc2734
Refactor deploy folder, delete reduntant folders
amakarudze Apr 28, 2023
5368e73
Fix line breaks at 80 for chromebook/README.md
amakarudze Jun 1, 2023
11488b4
Fix lines for chromebook/django_start_project/README.md
amakarudze Jun 1, 2023
0c3e2d7
Fix line length for macosx/django_start_project/README.md
amakarudze Jun 1, 2023
808a0fd
Fix runcode file line length
amakarudze Jun 1, 2023
b3f114c
Fix line length for windows and runcode
amakarudze Jun 19, 2023
7bd90b9
Fix lines for code editor folder
amakarudze Jun 19, 2023
dcde212
Fix line length for more files
amakarudze Jun 19, 2023
3dd54d8
Fix link for runcode django_start_project
amakarudze Jun 19, 2023
213850f
Fix navigation issues, refactor SUMMARY.md
amakarudze Jun 29, 2023
cf28896
fix: relative image paths in specific os folders
jwhhh Oct 5, 2023
19ba762
Merge pull request #1 from jwhhh/change-structure-1792
amakarudze Nov 25, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
40 changes: 30 additions & 10 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
@@ -1,27 +1,47 @@
---

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Do we need to do those changes with this PR? 🤔
Otherwise, I would do them separately, just so we can make it slightly smaller 😅

name: Build and Deploy

on:
push:
branches:
- master

permissions:
contents: read
pages: write
id-token: write

concurrency:
group: "pages"
cancel-in-progress: true

jobs:
build-and-deploy:
build:
runs-on: ubuntu-latest
if: github.repository == 'djangogirls/tutorial'
steps:
- name: Checkout
uses: actions/checkout@v2
uses: actions/checkout@v3
with:
persist-credentials: false

- name: Install and Build
run: |
npm install
npx honkit build

- name: Deploy
uses: JamesIves/github-pages-deploy-action@releases/v3
- name: Upload artifact
uses: actions/upload-pages-artifact@v1
with:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
BRANCH: gh-pages
FOLDER: _book
path: _book

deploy:
needs: build
permissions:
pages: write
id-token: write
environment:
name: github-pages
url: ${{ steps.deployment.outputs.page_url }}
runs-on: ubuntu-latest
steps:
- name: Deploy to GitHub Pages
id: deployment
uses: actions/deploy-pages@v2
180 changes: 148 additions & 32 deletions en/SUMMARY.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,36 +2,152 @@

* [Introduction](README.md)
* [Installation](installation/README.md)
* [Installation (RunCode Cloud)](cloud_development_setup/README.md)
* [Installation (Chromebook)](chromebook_setup/README.md)
* [Installation (OS X/Windows/Linux)](installation/README.md#osx-windows-linux)
* [Command Line](installation/README.md#intro-command-line)
* [Python](installation/README.md#python)
* [Code Editor](installation/README.md#code-editor)
* [Virtual Environment](installation/README.md#virtualenv)
* [Django](installation/README.md#django)
* [Git](installation/README.md#git)
* [GitHub](installation/README.md#github-account)
* [PythonAnywhere](installation/README.md#pythonanywhere-account)
* [How the Internet works](how_the_internet_works/README.md)
* [Introduction to command line](intro_to_command_line/README.md)
* [Python installation](python_installation/README.md)
* [Code editor](code_editor/README.md)
* [Introduction to Python](python_introduction/README.md)
* [What is Django?](django/README.md)
* [Django installation](django_installation/README.md)
* [Your first Django project!](django_start_project/README.md)
* [Django models](django_models/README.md)
* [Django admin](django_admin/README.md)
* [Deploy!](deploy/README.md)
* [Django URLs](django_urls/README.md)
* [Django views – time to create!](django_views/README.md)
* [Introduction to HTML](html/README.md)
* [Django ORM (Querysets)](django_orm/README.md)
* [Dynamic data in templates](dynamic_data_in_templates/README.md)
* [Django templates](django_templates/README.md)
* [CSS – make it pretty](css/README.md)
* [Template extending](template_extending/README.md)
* [Extend your application](extend_your_application/README.md)
* [Django Forms](django_forms/README.md)
* [RunCode](runcode/README.md)
* [RunCode Cloud Installation](runcode/README.md)
* [GitHub](runcode/README.md#github)
* [RunCode](runcode/README.md#runcode)
* [Visual Studio Code](runcode/README.md#visual-studio-runcode)
* [PythonAnywhere](runcode/README.md#pythonanywhere)
* [Command Line](runcode/README.md#command-line)
* [Django](runcode/README.md#django)
* [How the Internet works](how_the_internet_works/README.md)
* [Introduction to command line](runcode/intro_to_command_line/README.md)
* [Introduction to Python](runcode/python_introduction/README.md)
* [What is Django?](django/README.md)
* [Django installation](runcode/django_installation/README.md)
* [Your first Django project!](django_start_project/README.md)
* [Django models](django_models/README.md)
* [Django admin](django_admin/README.md)
* [Deploy!](runcode/deploy/README.md)
* [Django URLs](django_urls/README.md)
* [Django views – time to create!](django_views/README.md)
* [Introduction to HTML](html/README.md)
* [Django ORM (Querysets)](django_orm/README.md)
* [Dynamic data in templates](dynamic_data_in_templates/README.md)
* [Django templates](django_templates/README.md)
* [CSS – make it pretty](css/README.md)
* [Template extending](template_extending/README.md)
* [Extend your application](extend_your_application/README.md)
* [Django Forms](django_forms/README.md)
* [ChromeBook](chromebook/README.md)
* [ChromeBook Installation](chromebook/README.md)
* [Cloud IDE](chromebook/README.md#cloud-ide)
* [PaizaCloud Cloud IDE](chromebook/README.md#paizacloud-cloud-ide)
* [AWS Cloud9](chromebook/README.md#aws-cloud9)
* [Glitch.com Cloud IDE](chromebook/README.md#glitch-cloud-ide)
* [Virtual Environment](chromebook/README.md#virtual-environment)
* [GitHub](chromebook/README.md#github)
* [PythonAnywhere](chromebook/README.md#pythonanywhere)
* [How the Internet works](how_the_internet_works/README.md)
* [Introduction to command line](linux/intro_to_command_line/README.md)
* [Introduction to Python](linux/python_introduction/README.md)
* [What is Django?](django/README.md)
* [Django installation](chromebook/README.md#glitch-cloud-ide)
* [Your first Django project!](chromebook/django_start_project/README.md)
* [Django models](django_models/README.md)
* [Django admin](django_admin/README.md)
* [Deploy!](linux/deploy/README.md)
* [Django URLs](django_urls/README.md)
* [Django views – time to create!](django_views/README.md)
* [Introduction to HTML](html/README.md)
* [Django ORM (Querysets)](django_orm/README.md)
* [Dynamic data in templates](dynamic_data_in_templates/README.md)
* [Django templates](django_templates/README.md)
* [CSS – make it pretty](css/README.md)
* [Template extending](template_extending/README.md)
* [Extend your application](extend_your_application/README.md)
* [Django Forms](django_forms/README.md)
* [Linux](linux/README.md)
* [Linux Installation](linux/README.md)
* [Command Line](linux/README.md#intro-command-line)
* [Python](linux/README.md#python)
* [Code Editor](linux/README.md#code-editor)
* [Virtual Environment](linux/README.md#virtualenv)
* [Django](linux/README.md#django)
* [Git](linux/README.md#git)
* [GitHub](linux/README.md#github-account)
* [PythonAnywhere](linux/README.md#pythonanywhere-account)
* [How the Internet works](how_the_internet_works/README.md)
* [Introduction to command line](linux/intro_to_command_line/README.md)
* [Python installation](linux/python_installation/README.md)
* [Code editor](code_editor/README.md)
* [Introduction to Python](linux/python_introduction/README.md)
* [What is Django?](django/README.md)
* [Django installation](linux/django_installation/README.md)
* [Your first Django project!](linux/django_start_project/README.md)
* [Django models](django_models/README.md)
* [Django admin](django_admin/README.md)
* [Deploy!](linux/deploy/README.md)
* [Django URLs](django_urls/README.md)
* [Django views – time to create!](django_views/README.md)
* [Introduction to HTML](html/README.md)
* [Django ORM (Querysets)](django_orm/README.md)
* [Dynamic data in templates](dynamic_data_in_templates/README.md)
* [Django templates](django_templates/README.md)
* [CSS – make it pretty](css/README.md)
* [Template extending](template_extending/README.md)
* [Extend your application](extend_your_application/README.md)
* [Django Forms](django_forms/README.md)
* [OSX](macosx/README.md)
* [OSX Installation](macosx/README.md)
* [Command Line](macosx/README.md#intro-command-line)
* [Python](macosx/README.md#python)
* [Code Editor](macosx/README.md#code-editor)
* [Virtual Environment](macosx/README.md#virtualenv)
* [Django](macosx/README.md#django)
* [Git](macosx/README.md#git)
* [GitHub](macosx/README.md#github-account)
* [PythonAnywhere](macosx/README.md#pythonanywhere)
* [How the Internet works](how_the_internet_works/README.md)
* [Introduction to command line](macosx/intro_to_command_line/README.md)
* [Python installation](macosx/python_installation/README.md)
* [Code editor](code_editor/README.md)
* [Introduction to Python](macosx/python_introduction/README.md)
* [What is Django?](django/README.md)
* [Django installation](macosx/django_installation/README.md)
* [Your first Django project!](macosx/django_start_project/README.md)
* [Django models](django_models/README.md)
* [Django admin](django_admin/README.md)
* [Deploy!](macosx/deploy/README.md)
* [Django URLs](django_urls/README.md)
* [Django views – time to create!](django_views/README.md)
* [Introduction to HTML](html/README.md)
* [Django ORM (Querysets)](django_orm/README.md)
* [Dynamic data in templates](dynamic_data_in_templates/README.md)
* [Django templates](django_templates/README.md)
* [CSS – make it pretty](css/README.md)
* [Template extending](template_extending/README.md)
* [Extend your application](extend_your_application/README.md)
* [Django Forms](django_forms/README.md)
* [Windows](windows/README.md)
* [Windows Installation](windows/README.md)
* [Command Line](windows/README.md#intro-command-line)
* [Python](windows/README.md#python)
* [Code Editor](windows/README.md#code-editor)
* [Virtual Environment](windows/README.md#virtualenv)
* [Django](windows/README.md#django)
* [Git](windows/README.md#git)
* [GitHub](windows/README.md#github-account)
* [PythonAnywhere](windows/README.md#pythonanywhere-account)
* [How the Internet works](how_the_internet_works/README.md)
* [Introduction to command line](windows/intro_to_command_line/README.md)
* [Python installation](windows/python_installation/README.md)
* [Code editor](code_editor/README.md)
* [Introduction to Python](windows/python_introduction/README.md)
* [What is Django?](django/README.md)
* [Django installation](windows/django_installation/README.md)
* [Your first Django project!](windows/django_start_project/README.md)
* [Django models](django_models/README.md)
* [Django admin](django_admin/README.md)
* [Deploy!](windows/deploy/README.md)
* [Django URLs](django_urls/README.md)
* [Django views – time to create!](django_views/README.md)
* [Introduction to HTML](html/README.md)
* [Django ORM (Querysets)](django_orm/README.md)
* [Dynamic data in templates](dynamic_data_in_templates/README.md)
* [Django templates](django_templates/README.md)
* [CSS – make it pretty](css/README.md)
* [Template extending](template_extending/README.md)
* [Extend your application](extend_your_application/README.md)
* [Django Forms](django_forms/README.md)
* [What's next?](whats_next/README.md)
Loading