ソースからインストール

  1. まずは、使用しているシステムのインストール方法に従う:

  2. Git で最新の Weblate のソースを取得(または tarball をダウンロードして解凍)する方法:

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

    または、リリースしたアーカイブも使用できます。Web サイト <https://weblate.org/> からダウンロードできます。ダウンロード ファイルは暗号化し署名されています。リリース署名の検証 を確認してください。

  3. 現在の Weblate コードを virtualenv にインストールする方法:

    . ~/weblate-env/bin/activate
    pip install -e weblate-src
    
  4. weblate/settings_example.pyweblate/settings.py にコピーする。

  5. Adjust the values in the new settings.py file to your liking. You will need to provide at least the database credentials and Django secret key, but you will want more changes for production setup, see 詳細設定.

  6. Weblate が使用するデータベースを作成します。参照: Weblate のデータベース設定

  7. Django テーブル、静的ファイル、初期データのビルド(参照: データベースの準備 および 静的ファイルの提供)の方法:

    weblate migrate
    weblate collectstatic
    weblate compress
    weblate compilemessages
    

    注釈

    この手順は、リポジトリを更新するたびに繰り返すことが必要です。