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
# For use in Chef: | |
# Adds a command: git-pull-recursive | |
file "/usr/local/bin/git-pull-recursive" do | |
owner "root" | |
group "root" | |
mode "0755" | |
action :create | |
content 'find . -type d -name .git -exec sh -c "cd \"{}\"/../ && pwd && git pull" \;' | |
end |
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
Sample client side links loader | |
------------------------------- | |
Simple Javascript solution for cross server header type situations. | |
----------------- | |
A [Pen](http://codepen.io/anon/pen/Akosp) on [CodePen](http://codepen.io/). |
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 Drush | |
# Install Git | |
# Install MySQL | |
# Get drupal codebase | |
git clone [email protected]:your/repo.git | |
cd repo | |
# Create drush alias | |
$aliases['sitename'] = array( |
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
sudo apt-get install boot-repair git vim drush chromium-browser gnome-do mysql-server curl |
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
cd /var/aegir/devshop-6.x-1.x/profiles/devshop/ | |
git pull | |
cd /var/aegir/devshop-6.x-1.x/profiles/devshop/modules/devshop/devshop_hosting | |
git pull | |
cd /var/aegir/.drush/devshop_provision | |
git pull | |
drush @hostmaster cc all | |
drush @hostmaster updb -y |
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
default | Then I should get a :code response trying to access :url | |
default | Given I am an anonymous user | |
default | Given I am not logged in | |
default | Given I am logged in as a user with the :role role(s) | |
default | Given I am logged in as :name | |
default | Given I am logged in as a user with the :permissions permission(s) | |
default | Then I should see (the text ):text in the ":rowText" row | |
default | Given I click :link in the :rowText row | |
default | Then I (should )see the :link in the :rowText row | |
default | Given the cache has been cleared |
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
app: | |
environment: | |
WORDPRESS_DB_PASSWORD: password | |
external_links: | |
1979c1fa-26cd-45a0-91cc-c73812fc94b5: mysql | |
tty: true | |
image: wordpress | |
links: | |
- database | |
stdin_open: true |
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
<?php | |
use Drupal\DrupalExtension\Context\RawDrupalContext; | |
use Behat\Behat\Hook\Scope\BeforeScenarioScope; | |
use Behat\Behat\Context\SnippetAcceptingContext; | |
use Behat\Behat\Tester\Exception\PendingException; | |
use Behat\Behat\Hook\Scope\AfterStepScope; | |
use Behat\Behat\Hook\Scope\BeforeStepScope; | |
use Behat\Gherkin\Node\PyStringNode; | |
use Behat\Gherkin\Node\TableNode; | |
use Behat\Mink\Exception; |
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
<?php | |
use Drupal\DrupalExtension\Context\RawDrupalContext; | |
use Drupal\DrupalExtension\Context\DrupalContext; | |
use Behat\Behat\Context\Context; | |
use Behat\Behat\Context\SnippetAcceptingContext; | |
use Behat\Gherkin\Node\PyStringNode; | |
use Behat\Gherkin\Node\TableNode; |
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
default | Then every link should work | |
default | Given I am an anonymous user | |
default | Given I am not logged in | |
default | Given I am logged in as a user with the :role role(s) | |
default | Given I am logged in as a user with the :role role(s) and I have the following fields: | |
default | Given I am logged in as :name | |
default | Given I am logged in as a user with the :permissions permission(s) | |
default | Then I should see (the text ):text in the ":rowText" row | |
default | Given I click :link in the :rowText row | |
default | Then I (should )see the :link in the :rowText row |
OlderNewer