Skip to content

Instantly share code, notes, and snippets.

@grasmash
Last active November 30, 2020 23:47
Show Gist options
  • Save grasmash/883929115c3c2743ba4800bebfd20e8a to your computer and use it in GitHub Desktop.
Save grasmash/883929115c3c2743ba4800bebfd20e8a to your computer and use it in GitHub Desktop.
Setup Acquia Cloud project with Lando
cd my-project
lando init \
--source cwd \
--recipe drupal9 \
--webroot docroot \
--name my-new-app
git add .lando.yml && git commit -m "Adding Lando configuration."
lando start
lando info
// Ensure that your local settings.php file's database credentials match
// the displayed MySQL credentials.
lando ssh
curl -OL https://github.com/acquia/cli/releases/latest/download/acli.phar && chmod +x acli.phar && mv acli.phar /usr/local/bin/acli
acli auth:login
acli pull
composer create-project acquia/drupal-minimal-project my-new-app
lando init \
--source cwd \
--recipe drupal9 \
--webroot docroot \
--name my-new-app
git init && git add . && git commit -m "Initial commit."
lando start
lando ssh
curl -OL https://github.com/acquia/cli/releases/latest/download/acli.phar && chmod +x acli.phar && mv acli.phar /usr/local/bin/acli
acli auth:login
// Do work.
acli push
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment