-
Notifications
You must be signed in to change notification settings - Fork 1.9k
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
Restructure tutorial to separate instructions based on operating system #1796
base: restructure-tutorial
Are you sure you want to change the base?
Changes from all commits
564152a
39b7faa
00446f4
ab0d913
fdbbb86
91ee4c3
db9e969
efe896a
8fc2734
5368e73
11488b4
0c3e2d7
808a0fd
b3f114c
7bd90b9
dcde212
3dd54d8
213850f
cf28896
19ba762
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,27 +1,47 @@ | ||
--- | ||
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 |
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,28 +2,82 @@ | |
|
||
* [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) | ||
* [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) | ||
* [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) | ||
* [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) | ||
* [Mac 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) | ||
* [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](intro_to_command_line/README.md) | ||
* [Python installation](python_installation/README.md) | ||
* [Code editor](code_editor/README.md) | ||
* [RunCode- Introduction to command line](runcode/intro_to_command_line/README.md) | ||
* [ChromeBook/Linux- Introduction to command line](linux/intro_to_command_line/README.md) | ||
* [Mac OSX - Introduction to command line](macosx/intro_to_command_line/README.md) | ||
* [Windows - Introduction to command line](windows/intro_to_command_line/README.md) | ||
* [Python Installation](python_installation/README.md) | ||
* [ChromeBook/Linux - Python installation](linux/python_installation/README.md) | ||
* [Mac OSX - Python installation](macosx/python_installation/README.md) | ||
* [Windows - Python installation](windows/python_installation/README.md) | ||
* [Introduction to Python](python_introduction/README.md) | ||
* [RunCode - Introduction to Python](runcode/python_introduction/README.md) | ||
* [Linux - Introduction to Python](linux/python_introduction/README.md) | ||
* [Mac OSX - Introduction to Python](macosx/python_introduction/README.md) | ||
* [Windows - Introduction to Python](windows/python_introduction/README.md) | ||
* [Code editor](code_editor/README.md) | ||
* [What is Django?](django/README.md) | ||
* [Django installation](django_installation/README.md) | ||
* [Django Installation](django_installation/README.md) | ||
* [RunCode - Django installation](runcode/django_installation/README.md) | ||
* [ChromeBook - Django installation](chromebook/README.md#glitch-cloud-ide) | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Here it points to the section, not README.MD, is it supposed to be? There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. The Chromebook links have always been like that, pointing to a section in a README.md and not the README.md itself because they are in one file, though different applications are being installed. It's not a change I am introducing, and changing those links would introduce a new change. That's why I left them like that. |
||
* [Linux - Django installation](linux/django_installation/README.md) | ||
* [Mac OSX - Django installation](macosx/django_installation/README.md) | ||
* [Windows - Django installation](windows/django_installation/README.md) | ||
* [Your first Django project!](django_start_project/README.md) | ||
* [RunCode - Your first Django project!](runcode/django_start_project/README.md) | ||
* [ChromeBook - Your first Django project!](chromebook/django_start_project/README.md) | ||
* [Linux - Your first Django project!](linux/django_start_project/README.md) | ||
* [Mac OSX - Your first Django project!](macosx/django_start_project/README.md) | ||
* [Windows - Your first Django project!](windows/django_start_project/README.md) | ||
* [Django models](django_models/README.md) | ||
* [Django admin](django_admin/README.md) | ||
* [Deploy!](deploy/README.md) | ||
* [RunCode - Deploy!](runcode/deploy/README.md) | ||
* [Linux - Deploy!](linux/deploy/README.md) | ||
* [Mac OSX - Deploy!](macosx/deploy/README.md) | ||
* [Windows - 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) | ||
|
There was a problem hiding this comment.
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 😅