Skip to content
This repository was archived by the owner on Mar 5, 2025. It is now read-only.

Updating release instructions. #410

Merged
merged 1 commit into from
Sep 15, 2016
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
21 changes: 10 additions & 11 deletions RELEASE.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ This document outlines the process for creating a new BLT release.
In order to use these testing instructions:

* The `blt` alias must be installed.
* Your LAMP stack must have host entry for `http://blt8-release.localhost` pointing to `./blt8-release/docroot`.
* Your LAMP stack must have host entry for `http://blted8.localhost` pointing to `./blted8/docroot`.
* MySQL must use `mysql://drupal:drupal@localhost/drupal:3306`. If this is not the case, modify the instructions below for your credentials.
* In order to test Drupal VM, you must install VirtualBox and Vagrant. See [Drupal VM](https://github.com/geerlingguy/drupal-vm#quick-start-guide) for more information.

Expand All @@ -16,17 +16,17 @@ In order to use these testing instructions:
This test verifies that a new project can be created using `acquia/blt-project` via composer. This also tests the `blt update` process.

export COMPOSER_PROCESS_TIMEOUT=2000
composer create-project acquia/blt-project blt8-release --no-interaction
cd blt8-release
./vendor/bin/drupal yaml:update:value project.yml project.local.hostname 'blt8-release.localhost'
echo '$databases["default"]["default"]["username"] = "drupal";' >> docroot/sites/default/settings/local.settings.php
echo '$databases["default"]["default"]["password"] = "drupal";' >> docroot/sites/default/settings/local.settings.php
composer create-project acquia/blt-project blted8 --no-interaction
cd blted8
# Overwrite MySQL creds for your local machine, if necessary.
# echo '$databases["default"]["default"]["username"] = "drupal";' >> docroot/sites/default/settings/local.settings.php
# echo '$databases["default"]["default"]["password"] = "drupal";' >> docroot/sites/default/settings/local.settings.php
blt local:setup
drush uli
read -p "Press any key to continue"

# This updates to the latest dev version.
composer update acquia/blt:8.x-dev
composer require acquia/blt:8.x-dev
dr uli
read -p "Press any key to continue"
cd ../
Expand All @@ -35,14 +35,13 @@ This test verifies that a new project can be created using `acquia/blt-project`

This test verifies that a new project can be created from scratch using blt, without blt-project. It also tests Drupal VM integration.

rm -rf blt8-release
mkdir blt8-release
cd blt8-release
rm -rf blted8
mkdir blted8
cd blted8
git init
composer init --stability=dev --no-interaction
composer config prefer-stable true
composer require acquia/blt:8.x-dev
./vendor/bin/drupal yaml:update:value project.yml project.local.hostname 'blt8-release.localhost'
composer update
blt vm:init
vagrant up
Expand Down