Permalink
Switch branches/tags
Nothing to show
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
97 lines (62 sloc) 2.45 KB

Q-Translate Server

Drupal installation profile for Q-Translate Server.

Q-Translate is an application that helps to improve the translations of the Quran, by getting review and feedback from lots of people. http://info.qtranslate.org

Installation

Install Q-Translate 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 qtr.example.org and 127.0.0.1 qcl.example.org and then try in browser https://qtr.example.org and https://qcl.example.org

Import the translations

ds exec data/import.sh <lng>

If the argument lng is missing, then all the languages on settings.sh will be imported.

Backup and restore

ds backup data
ds backup btr_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