News

5 min reading time
Drupal on Azure

 

We are always looking for new ways to polish our workflows. A huge part of that flow is hosting our websites so we've looked into Microsoft Azure to see if we can use it and to what extend. So as a test scenario we've tried to host a basic Drupal 8 website on it. In the back of our minds, we also tried to make this happen without spending a lot of money.

Drupal Azure

> scripts/composer/post-install.sh

'scripts' is not recognized as an internal or external command,

operable program or batch file.

Script scripts/composer/post-install.sh handling the post-install-cmd event returned with error code 1

An error has occurred during web site deployment.

Loading composer repositories with package information\r\nInstalling dependencies from lock file\r\nNothing to install or update\r\nGenerating optimized autoload files\r\n> scripts/composer/postinstall.sh\r\n'scripts' is not recognized as an internal or external command,\r\noperable program or batch file.\r\nScript scripts/composer/post-install.sh handling the post-install-cmd event returned with error code 1\r\nD:\Program Files (x86)\SiteExtensions\Kudu\61.60316.2745\bin\Scripts\starter.cmd D:\home\SiteExtensions\ComposerExtension\Hooks\deploy.cmd

"scripts": {

"post-install-cmd": "/scripts/composer/post-install.sh"

},

## Change to ##

"scripts": {

"post-install-cmd": "bash ./scripts/composer/post-install.cmd"

},

Drupal Azure_2_Big