...
Code Block | ||||
---|---|---|---|---|
| ||||
# 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') === 'c5b9b6d368201a9db6f74e2611495f369991b72d9c8cbd3ffbc63edff210eb73d46ffbfce88669ad33695ef77dc76976') { 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 (will throw an missing config exception if configuration is not done yet, see below):
php server.php |
Configuration of the Socket Server (SSL enabled)
...