Page tree

Versions Compared

Key

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

...

Code Block
languagebash
titleInstallation of dependencies
# until it is clear how we embed all the dependencies into translate5 we have to do the following for installation:

# go into the bus-server directory of the FrontEndMessageBus plug-in
cd application/modules/editor/Plugins/FrontEndMessageBus/bus-server

# Install composer with the following code (code from https://getcomposer.org/download/): 

# if the following commands to get the composer produces an error, go to getcomposer.org and follow the updated instructions there.
php -r "copy('https://getcomposer.org/installer', 'composer-setup.php');"
php -r "if (hash_file('sha384', 'composer-setup.php') === 'a5c698ffe4b8e849a443b120cd5ba38043260d5c4023dbf93e1558871f1f07f58274fc6f4c93bcfd858c6bd0775cd8d1c5b9b6d368201a9db6f74e2611495f369991b72d9c8cbd3ffbc63edff210eb73d46ffbfce88669ad33695ef77dc76976') { echo 'Installer verified'; } else { echo 'Installer corrupt'; unlink('composer-setup.php'); } echo PHP_EOL;"
php composer-setup.php
php -r "unlink('composer-setup.php');"

# Install all needed dependencies
php composer.phar update

# go back to application/modules/editor/Plugins/FrontEndMessageBus
cd ..

# start MessageBus Server:
php server.php

...