Skip to content

Instantly share code, notes, and snippets.

@victorbnl
Last active November 5, 2023 17:00
Show Gist options
  • Save victorbnl/0327b301fbcc682b92dde2c4a0a5c77a to your computer and use it in GitHub Desktop.
Save victorbnl/0327b301fbcc682b92dde2c4a0a5c77a to your computer and use it in GitHub Desktop.
How to install weblate locally

How to install weblate locally

Requirements

  • git
  • docker
  • docker-compose

Steps

  1. Clone the weblate-docker repo : git clone https://github.com/WeblateOrg/docker-compose.git weblate-docker
  2. Go in it : cd weblate-docker
  3. Create docker-compose.override.yml
version: '3'
services:
  weblate:
    ports:
      - 80:8080
    environment:
      WEBLATE_SITE_DOMAIN: 127.0.0.1
      WEBLATE_ADMIN_PASSWORD: PASSWORD
      WEBLATE_ADMIN_EMAIL: weblate.admin@example.com
  1. Start weblate : docker-compose up
  2. Go to http://127.0.0.1/
  3. Login in with weblate.admin@example.com and PASSWORD
  4. Enjoy!

Note

  • As the goal of this guide is to run it only for you locally, we're not setting up e-mail so everything with e-mail will not work ; if you want to create an account, please use the Django administration interface available from the settings
@yarons
Copy link

yarons commented Nov 5, 2023

Hey, you forgot to add the Weblate docker image itself.
image: weblate/weblate

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment