Last active
November 20, 2018 05:15
-
-
Save jenter/2a1c610bafb34760d2f7595aa3b978db to your computer and use it in GitHub Desktop.
Quick steps to create a new headless lightning project using BLT and DrupalVM
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
# {{PROJECTNAME}} is name of project with standard machine naming conventions (ie. no spaces or uppercase) | |
> composer create-project --no-interaction acquia/blt-project {{PROJECTNAME}} | |
> cd {{PROJECTNAME}} | |
> composer run-script blt-alias | |
> source ~/.bash_profile | |
> composer require acquia/headless_lightning:~1.1.0 | |
# Edit blt/project.yml and change the project:profile:name key to 'headless_lightning' | |
> blt vm | |
# You may need to update the 'php_version' to match your local environment in box/config.yml | |
> blt setup |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I had to use the latest headless_lightning for this. 1.4.0-beta2
Also, blt/project.yml is now blt/blt.yml.