Skip to content

Instantly share code, notes, and snippets.

@jenter
Last active November 20, 2018 05:15
Show Gist options
  • Save jenter/2a1c610bafb34760d2f7595aa3b978db to your computer and use it in GitHub Desktop.
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
# {{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
@cbiggins
Copy link

I had to use the latest headless_lightning for this. 1.4.0-beta2

Also, blt/project.yml is now blt/blt.yml.

@cbiggins
Copy link

And thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment