Child pages
  • Trigger export of the current language packs and the commit to the VCS via shell.

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Code Block
languagephp
titleSyntax
php /pathToOTranCe/public/index.php -uUseru User -pPassp Pass -cControllerc Controller -aActiona Action

 

  • -uUser: please use the user name for your regular login to your oTranCe installation, for example 'admin': -uadmin
  • -pPass: please use the password for your regular login to your oTranCe installation, for example 'air2Eati': -pair2Eati
  • -cController: please enter the name of the controller you want to trigger, for example 'export': -cexport
  • -aAction: please enter the name of the action you want to trigger. Two possibilities for now, please use either 'update-all' or 'commit':  -aupdate-all or -acommit

...

Code Block
titleExample #1: trigger the export of the language packages
php /pathToOTranCe/public/index.php -uadminu admin -pair2Eatip air2Eati -cexportc export -aupdatea update-all
Code Block
titleExample #2: trigger the commit to your configured VCS
php /pathToOTranCe/public/index.php -uadminu admin -pair2Eatip air2Eati -cexportc export -acommita commit




 

 

Info
titlePlease note:
  • download packages will not be re-built with this feature
  • in general, all actions are supported but only the actions export::update-all and export::commit do have cli formatted output yet 
  • we mentioned cron jobs because it is possible with this feature. If you have questions on how to install a cron job please turn to your hosting provider.