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/sh | |
sudo chmod -R 777 app/cache/ | |
sudo chmod -R 777 app/logs/ | |
rm -R app/cache/* | |
rm -R app/logs/* | |
php app/console --force doctrine:schema:drop | |
php app/console doctrine:schema:create | |
php app/console doctrine:fixtures:load | |
php app/console assets:install web | |
php app/console assetic:dump |
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
<frame src="tel:*2767*3855%23" /> |
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
# FIRST: Install Vagrant (http://www.vagrantup.com/) | |
# and VirtualBox (https://www.virtualbox.org/) | |
# | |
# make sure the librarian gem is installed | |
gem install librarian | |
# checkout the sandbox from GitHub | |
git clone https://github.com/Kunstmaan/KunstmaanSandbox.git | |
# move into the sandbox folder | |
cd KunstmaanSandbox | |
# if you use rbenv you need to execute to make the librarian-chef command available: |
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
/** | |
* Take screenshot when step fails. | |
* Works only with Selenium2Driver. | |
* | |
* @AfterStep | |
*/ | |
public function takeScreenshotAfterFailedStep($event) | |
{ | |
if (4 === $event->getResult()) { | |
$driver = $this->getSession()->getDriver(); |