Instalacja ze źródeł¶
Please follow the installation instructions for your system first up to installing Weblate:
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 Weryfikowanie podpisów wersji.
Install current Weblate code into the virtualenv:
. ~/weblate-env/bin/activate uv pip install -e 'weblate-src[all]' # In case you intentd to run testsuite, install test deps as well: uv pip install -e 'weblate-src[all,test]'
Skopiuj
weblate/settings_example.py
doweblate/settings.py
.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 Dostosowywanie konfiguracji.Create the database used by Weblate, see Konfiguracja bazy danych dla Weblate.
Build Django tables, static files and initial data (see Wypełnianie bazy danych and Obsługa plików statycznych):
weblate migrate weblate collectstatic weblate compress
Informacja
This step should be repeated whenever you update the repository.