Skip to content
This repository has been archived by the owner on Mar 4, 2019. It is now read-only.

Latest commit

 

History

History
105 lines (68 loc) · 2.86 KB

README.md

File metadata and controls

105 lines (68 loc) · 2.86 KB

B-Translator

Drupal installation profile for B-Translator.

The codename B-Translator can be decoded like Bee Translator, since it aims at collecting very small translation contributions from a wide crowd of people and to dilute them into something useful.

It can also be decoded like Be Translator, as an invitation to anybody to give his small contribution for translating programs or making their translations better.

For more detailed information see: http://info.btranslator.org

Installation

Install B-Translator Client

Access the website

  • Tell wsproxy to manage the domain of this container: ds wsproxy add

  • Tell wsproxy to get a free letsencrypt.org SSL certificate for this domain (if it is a real one): ds wsproxy ssl-cert

  • If the domain is not a real one, add to /etc/hosts the lines 127.0.0.1 btr.example.org and 127.0.0.1 bcl.example.org and then try in browser https://btr.example.org and https://bcl.example.org

Import the translation data

ds inject data-get.sh
ds inject data-import.sh

This may take a lot of time (many hours, and maybe a couple of days).

Backup and restore

ds backup data
ds backup dev
ds backup full
ds restore <backup-file.tgz>

Other commands

ds help

ds shell
ds stop
ds start
ds snapshot

ds inject set-adminpass.sh <new-drupal-admin-passwd>
ds inject set-domain.sh <new.domain>
ds inject set-emailsmtp.sh 'smtp_server' <smtp-server> <smtp-domain>
ds inject set-emailsmtp.sh 'gmail_account' <gmail-user> <gmail-passwd>
ds inject oauth2-client-add.sh <@alias> <client-key> <client-secret> <https://redirect-uri>
ds inject set-languages.sh

ds inject dev/clone.sh test
ds inject dev/clone-del.sh test
ds inject dev/clone.sh 01