Instalar desde el código fuente#
Por favor, siga las instrucciones de la instalación de su sistema antes de instalar 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 Comprobar las firmas de versión.
Install current Weblate code into the virtualenv:
. ~/weblate-env/bin/activate pip install -e 'weblate-src[all]'
Copy
weblate/settings_example.py
toweblate/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 Adjusting configuration.Create the database used by Weblate, see Configuración de base de datos para Weblate.
Build Django tables, static files and initial data (see Filling up the database and Serving static files):
weblate migrate weblate collectstatic weblate compress
Nota
Este paso debe repetirse siempre que actualice el repositorio.