This will happen with low specification EC2 instances. You may encounter error with composer when updating with an out of memory error. This will for instance install following libraries: "modules/contrib/ek/ek_admin/composer.json" You can merge composer.json paths as "extra" option in main composer.json:įor instance add the custom plugins paths: In our case, we install our own application EK Management tools suite with the following command:Ĭomposer require arreasystem/ek:"dev-8.x-dev" You can now add additional plugins with their specific composer installer. To be able to merge composer files, you need to install the composer-merge-plugin first with command:Ĭomposer require wikimedia/composer-merge-plugin One of the purpose of using composer installation is to merge other composer files and install custom plugins and applications. Once your have the desired folder configuration, you can run actual installation command: composer -vvv install "web/libraries/": Īnd edit "installer-paths". For instance if you are in /var/You need to edit manually the installer path here before installing the application or if you prefer, keep the default paths. (note: the code will be copied within the folder "MyAppName" within your current folder location. The latest version will install Drupal 8.6.1. The repository is a composer template for Drupal projects with pretty good usage guide. In our case we followed similar procedure as the one described here.įor actual installatin of Drupal with composer, there is a guide at with 3 options. Once again, we will not go too much into details as composer installation is also widely covered. Once your server is running, the next step is to install composer. ![]() We pick latest 18.04 LTS version of Ubuntu to comply with requirements of Drupal 8 with PHP 7.2. We will not cover in detail this part, as we assume this is already covered by many other blogs and tutorials. AWS imageįirst you will need to create EC2 instance with proper AMI from Amazon Web Service. ![]() Installing Drupal with composer greatly simplify system maintenance and further update. In this post we will share our experience in installing a Drupal 8 application on an Amazon EC2 server with latest Ubuntu 18.04 LTS.
0 Comments
Leave a Reply. |