Creating a new project with BLT¶
Please do not clone BLT or BLT Project as a means of using them. Just follow the directions below.
Create a new project with the commands below. It will create the necessary directories and download all dependencies. Do not run these commands inside of an existing git repository. Replace
MY_PROJECTin the commands below with the desired name of your new project directory.
composer clear-cache export COMPOSER_PROCESS_TIMEOUT=2000 composer create-project --no-interaction acquia/blt-project MY_PROJECT cd MY_PROJECT
bltalias and follow on-screen instructions:
composer run-script blt-alias source ~/.bash_profile
By default, BLT will use the
lightningprofile, other valid values are
If using Drupal VM for local development, run the following commands. Otherwise, see Local Development.
blt vm blt local:setup
Login to Drupal
drush @[project.machine_name].local uli, where [project.machine_name] is the value that you set in project.yml.
- See Next steps.