본문 바로가기
DevOps

i18n (국제화)을 위한 weblate 사용법 (www.weblate.org) - 1편 설치

by david100gom 2020. 5. 10.

 

i18n 버전관리 시스템인 weblate 설치 방법입니다.

기본적으로 docker 와 docker-compose 가 설치되어 있어야 한다.

1. Clone the weblate-docker repo:

git clone https://github.com/WeblateOrg/docker-compose.git weblate-docker
cd weblate-docker

2. Create a docker-compose.override.yml file with your settings. See Docker environment variables for full list of environment variables. - docker-compose.override.yml 를 아래의 설정값으로 입력하여 생성한다.

version: '3'
services:
  weblate:
    ports:
      - 80:8080
    environment:
      WEBLATE_EMAIL_HOST: smtp.example.com
      WEBLATE_EMAIL_HOST_USER: user
      WEBLATE_EMAIL_HOST_PASSWORD: pass
      WEBLATE_SERVER_EMAIL: weblate@example.com
      WEBLATE_DEFAULT_FROM_EMAIL: weblate@example.com
      WEBLATE_ALLOWED_HOSTS: weblate.example.com,localhost
      WEBLATE_ADMIN_PASSWORD: password for the admin user
      WEBLATE_ADMIN_EMAIL: weblate.admin@example.com

3. Start Weblate containers:

docker-compose up

 

댓글