This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
touch ../selenium.yml | |
echo 'version: "3"'>>../selenium.yml | |
echo 'services:'>>../selenium.yml | |
echo ' selenium:'>>../selenium.yml | |
echo ' image: selenium/standalone-chrome'>>../selenium.yml | |
echo ' ports:'>>../selenium.yml | |
echo ' - "4444:4444"'>>../selenium.yml | |
sudo yum update -y | |
sudo yum -y install php56-pecl-xdebug | |
sudo sed -i "/^;xdebug.remote_enable/axdebug.remote_enable = 1" /etc/php-5.6.d/15-xdebug.ini |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# Update repository | |
sudo yum update -y | |
# Install XDebug | |
sudo yum -y install php56-pecl-xdebug | |
sudo sed -i "/^;xdebug.remote_enable/axdebug.remote_enable = 1" /etc/php-5.6.d/15-xdebug.ini | |
# Update docroot to match with toolkit setup |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Install phpbrew | |
sudo apt-get update | |
sudo apt-get install libmcrypt-dev | |
curl -L -O https://github.com/phpbrew/phpbrew/raw/master/phpbrew | |
chmod +x phpbrew | |
sudo mv phpbrew /usr/local/bin/ | |
phpbrew init | |
[[ -e ~/.phpbrew/bashrc ]] && source ~/.phpbrew/bashrc |