*Please do not clone BLT as a means of using it. The only reason to clone BLT is to contribute to it.
You must have the following tools on the command line of your host operating system:
Instructions for installing all requirements for various operating systems are listed below. In general, make sure all installed tools are the most recent version unless otherwise noted.
Building project dependencies requires that your local machine make HTTP and HTTPS requests to various software providers on the internet. Please ensure that your local and network level security settings permit this to happen.
If you need to make requests via a proxy server, please configure git to use a proxy. This will cover all git based requests made by Composer
Ensure that Xcode is installed (primarily in order to support Homebrew). On OSX 10.9+ you can install Xcode with:
sudo xcodebuild -license xcode-select --install
Then install the minimum dependencies for BLT. The preferred method is via Homebrew, though you could install these yourself without a package manager.
/usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)" brew install php71 git composer composer global require "hirak/prestissimo:^0.3"
Note that the recommended installation method for Drush has changed recently. Drush should only be installed as a dependency of individual projects, rather than being installed system-wide. BLT will manage this dependency for you on projects, but in order for you to run Drush commands independently of BLT commands you'll want to install the Drush Launcher according to its intructions: https://github.com/drush-ops/drush-launcher
brew tap caskroom/cask brew cask install virtualbox vagrant vagrant plugin install vagrant-hostsupdater
If you are not using a VM, and you'd like to execute Behat tests from the host machine, you will need Java:
brew cask install java brew cask install chromedriver
brew install npm nvm
Windows is currently supported only when using the Bash on Ubuntu on Windows feature available in the latest version of Windows 10.
Pre-requisite requirements: - You must be running a 64-bit version of Windows 10 Anniversary update (build 14393 or later) - Access to a local account with administrative rights for initial install
Follow the official installation guide.
Note you must create a UNIX username with a password when prompted at the final step in the process. Certain BLT commands will not function correctly if you install with a passwordless root account.
Once complete follow the BLT on Windows installation instructions.
If you are using a Linux machine, it is assumed that you will not be using Drupal VM and that you will be configuring your own LAMP stack. Disregard the
blt vm command and
@[project.machine_name] references in subsequent documentation.
Ubuntu / Debian¶
apt-get install git composer drush composer global require "hirak/prestissimo:^0.3"
dnf install git composer drush composer global require "hirak/prestissimo:^0.3"
Choose your own adventure: