Last active
November 30, 2020 23:47
-
-
Save grasmash/883929115c3c2743ba4800bebfd20e8a to your computer and use it in GitHub Desktop.
Setup Acquia Cloud project with Lando
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
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 |
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
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