Permalink
Switch branches/tags
Nothing to show
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
103 lines (66 sloc) 2.71 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
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 <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