Installieren aus Quellen

  1. Please follow the installation instructions for your system first up to installing Weblate:

  2. Grab the latest Weblate sources using Git (or download a tarball and unpack that):

    git clone https://github.com/WeblateOrg/weblate.git weblate-src
    

    Alternatively you can use released archives. You can download them from our website <https://weblate.org/>. Those downloads are cryptographically signed, please see Verifying release signatures.

  3. Install current Weblate code into the virtualenv:

    . ~/weblate-env/bin/activate
    pip install -e weblate-src
    
  4. Copy weblate/settings_example.py to weblate/settings.py.

  5. Passen Sie die Werte in der neuen Datei settings.py nach Ihren Wünschen an. Sie müssen zumindest die Datenbank-Zugangsdaten und den geheimen Django-Schlüssel angeben, aber Sie werden mehr Änderungen für die Produktionseinrichtung benötigen, siehe Adjusting configuration.

  6. Create the database used by Weblate, see Database setup for Weblate.

  7. Build Django tables, static files and initial data (see Filling up the database and Serving static files):

    weblate migrate
    weblate collectstatic
    weblate compress
    

    Bemerkung

    This step should be repeated whenever you update the repository.