Instalasi di Windows

Panduan ini mencakup topik-topik berikut:

  1. Menginstal Python (digunakan untuk "mengubah" file sumber ke HTML)

  2. Menginstal SVN dan Menguduh Repsitori

  3. Menyiapkan Lingkungan Build

Menginstal Python

  1. Download the Python installation package for Windows. In this guide version 3.9.x is used.

  2. Install Python with the installation wizard. Please make sure that you enable the "Add Python to PATH" option:

    ../../_images/about_contribute_install_windows_installer.png

    The option must be enabled so you can build the manual with the make script.

    All other settings can remain as set by default.

Menginstal SVN dan Mengunduh Repositori

In this guide, we will use TortoiseSVN though any Subversion client will do.

  1. Download TortoiseSVN for Windows.

  2. Install TortoiseSVN with the installation wizard. When choosing which features will be installed, it is recommended that you enable command line client tools to give you access to SVN from the command line (there is no harm in doing this, and it may be helpful if you ever run into any trouble).

  3. Once the installation has finished, create a new folder that will contain everything related to the Blender Manual. In this guide, we will use C:\blender_docs.

  4. Open the new folder, right-click and choose SVN Checkout... from the context menu.

  5. In the URL of repository field, enter: https://svn.blender.org/svnroot/bf-manual/trunk/blender_docs.

  6. In the Checkout directory field, enter: C:\blender_docs.

  7. Click OK -- the repository will now be downloaded which may take a few minutes depending on your internet connection.

Menyiapkan Lingkungan Build

  • Open a Command Prompt. (Run as Administrator)

  • Masukkan folder blender_docs yang baru saja ditambahkan dari checkout SVN:

    cd C:\blender_docs
    
  • Inside that folder is a file called requirements.txt which contains a list of all the dependencies we need. Install all the dependencies using Python's pip command:

    pip install -r requirements.txt
    
  • If all goes well, you should see the following message when it is finished:

    Successfully installed Jinja2 MarkupSafe Pygments Sphinx docutils sphinx-rtd-theme Cleaning up...
    

During the setup, some warnings may be shown, but do not worry about them. However, if any errors occur, they may cause some problems.

Catatan

Every now and then you may want to make sure your dependencies are up to date using:

pip install -r requirements.txt --upgrade