Django Girls Tutorial: Extensions
  • Django Girls Tutorial: Extensions
  • LANGS
  • contributing
  • Django Girls Tutorial: Extensions
    • Summary
    • Homework: Add Wagtail to your website
      • Change Website Homepage to Wagtail Blog Homepage
      • Wagtail Installation and Configuration
      • Adding the Homepage
      • wagtail_integration_adding_posts
    • Homework: Adding security to your website
    • Domain
    • Homework: add more to your website!
    • Homework: create comment model
    • Deploying to PythonAnywhere manually
    • optional_postgresql_installation
  • Tutorial Django Girls : Extensiones
    • Resumen
    • Tarea: Asegura tu sitio
    • Dominio
    • Tarea: Agregar mas a tu sitio web
    • Tarea: Crea un modelo de comentarios
    • optional_postgresql_installation
  • آموزش جنگوگرلز: فعالیت‌های اضافه
    • خلاصه
    • کار در خانه: وبسایت خود را امن‌تر کنید
    • دامین
    • کار در خانه: چیزهای بیشتری به وب‌سایت اضافه کنیم!
    • کار در خانه: ساختن مدل کامنت‌ها
    • انتشار دستی بر روی PythonAnywhere
    • README
  • Django Girls Tutorial: Extensions
    • Summary
    • 宿題: ウェブサイトをセキュアにする
    • ドメイン
    • 宿題: ウェブサイトにもっと機能を追加しよう!
    • 宿題:コメントモデルを作ろう
    • Deploying to PythonAnywhere manually
    • README
  • 장고걸스 튜토리얼 : 심화 (Django Girls Tutorial: Extensions)
    • 목차
    • 숙제: 안전한 웹사이트 만들기
    • 도메인 만들기
    • 숙제: 블로그 개선하기!
    • 숙제 : 댓글 모델 만들기
    • 파이썬애니웨어(PythonAnywhere) 수동 배포하기
    • optional_postgresql_installation
Powered by GitBook
On this page
  • How to contribute
  • Editing basics
  • Getting started and prerequisites
  • Fork the repository
  • CLI for Development
  • Editing chapter content
  • Simple changes
  • New content and complex changes
  • Making a pull request
  • Further information and help

Was this helpful?

contributing

PreviousLANGSNextDjango Girls Tutorial: Extensions

Last updated 1 year ago

Was this helpful?

How to contribute

The Django Girls Tutorial Extensions is licensed under a license. Everyone is free to add, edit and correct the tutorial.

Editing basics

The source code of the tutorial extensions is . The GitHub is used to accept and review changes.

The tutorial extensions uses the project for publishing its documentation. .

The tutorial extensions is written in .

You can find any discussions about the contents of the tutorial extensions on the .

platform is used to manage translations. If you want to join an existing translation team or launch a new translation, send an email to the or contact . If you want to propose some small changes or fix typos in existing translations, please create a Pull Request.

Getting started and prerequisites

For contributing to the tutorial extensions the following is needed to get started:

  • a

  • in the case of complex edits familiarity with or familiarity with an app (, ) to push your edits made on your computer to GitHub.

Fork the repository

First fork the repository to your personal GitHub account:

CLI for Development

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.

Usage instructions are available though make help command.

Try the command make dev to start development process.

Editing chapter content

Simple changes

For simple changes like typo corrections you can use the GitHub online editor:

  • Open your local fork page on GitHub,

  • go to README.md file in any chapter,

  • press the Edit icon (pen)

and you can edit the chapter directly on github.com.

Markdown syntax is used to edit the individual pages of the tutorial.

Save your changes and create a pull request as explained below.

New content and complex changes

For adding new chapters, writing longer snippets of text or adding images, you need to get a copy of the tutorial to your local computer.

Either use the GitHub app for your operating system (mentioned above) or git command line to get the repository locally. You get the repository address from the front page of your own GitHub repository fork:

git clone git@github.com:yourgithubusername/tutorial-extensions.git

Move to the folder containing the project, to run the following commands.

cd tutorial-extensions

Then, create a branch for your new changes to sit in. It helps to call the branch something related to the changes you are going to make.

git checkout -b contributing
npm install

To preview and serve local files, with auto-reload capabilities, run HonKit using:

npx honkit serve

The local server will be available at http://localhost:4000. If auto-reload is slow, you can temporarily remove unwanted languages from LANGS.md, to speed up the process.

Then commit the changes using git and push the changes to your remote GitHub repository.

Example:

$ git status
On branch contributing
Untracked files:
  (use "git add <file>..." to include in what will be committed)

    contributing_and_editing_this_book/images/gitbook.png

$ git add contributing_and_editing_this_book/images/gitbook.png

$ git commit -m "Added gitbook editor screenshot"
[contributing fe36152] Added gitbook screenshot
 1 file changed, 0 insertions(+), 0 deletions(-)
 create mode 100644 contributing_and_editing_this_book/images/gitbook.png

$ git push
Counting objects: 11, done.
Delta compression using up to 8 threads.
Compressing objects: 100% (5/5), done.
Writing objects: 100% (5/5), 266.37 KiB | 0 bytes/s, done.
Total 5 (delta 1), reused 0 (delta 0)
To git@github.com:miohtama/tutorial-extensions.git
   b37ca59..fe36152  contributing -> contributing

Making a pull request

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

Fill in the information why this change is being made. The reviewer can see the details of the actual change, so you don't need repeat the content of the change.

Then press Create pull request.

GitHub emails will notify you for the follow up process.

Further information and help

Install the project's requirements using .

After you have finished your changes you need to create 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.

Compare & pull request

GitHub has an excellent . Check it out if you need help!

For further questions please .

Creative Commons Attribution-ShareAlike 4.0
hosted on GitHub
Fork & Pull workflow
HonKit
See more information about how HonKit works
Markdown mark up language
GitHub issue tracker
Crowdin
translation managers
support team
GitHub account
Git command line basics
Windows
Mac
DjangoGirls/tutorial-extensions
npm
a pull request
documentation
contact DjangoGirls
Fork button
Edit button
GitHub editor