

- #Acquia drupal tutorial install
- #Acquia drupal tutorial update
- #Acquia drupal tutorial code
- #Acquia drupal tutorial free
- #Acquia drupal tutorial windows
To generate an alias for the Acquia Cloud, BLT require's your Acquia Cloud application ID. Use a BLT recipe to set up Acquia details blt recipes:aliases:init:acquia Now that you have created your new project you can start using BLT. In general, you should be able to run Drush commands from anywhere but certainly from within your VM.įor example, all of these example commands should work: drush ssh To start using BLT successfully you should verify that your Drush aliases are working. You should be able to log in to your VM with vagrant ssh In the above steps, you provisioned a Virtual Machine, re-provisioned it with vagrant reload -provision, and updated several configuration files.
#Acquia drupal tutorial update
Git commit -m "BLT-002: Update base box and drush aliases." Parent: /mnt/gfs/woburn.test/livedev/docroot # Application 'woburn', environment 'test'. Under the local directive you should have something like this: dev: Add them to you project here: drush/sites/ Previously you downloaded your Drush 9 aliases from Acquia Cloud. Whenever you make any changes to your Drupal VM base box, run this: vagrant reload -provision UPDATE: No longer necessary, this fixed on acquia/blt#3800 Edit the composer.json fileĪt around line 6, edit the "require": " You can run blt vm right now to build your VM, but there are a few changes you might as well make right away. BLT initializes your project directory with a git repo simply follow Github's instructions to push the coe to Github.

If BLT doesn't work right away, run the following commands:.If Composer runs out of memory, you forgot to do this: You need a reliable Internet connection that doesn't block access to the open source packages.
#Acquia drupal tutorial install
If Composer fails to install the depedencies, make sure that your corporate VPN is not blocking web traffic. (I named my project "woburn".) cd ~/Sites/Ĭomposer create-project -no-interaction acquia/blt-project woburn ssh and troubleshooting steps are in Acquia Docs.Ĭreate a new project as directed in Acquia Docs. You need to set up according to these instructions.

#Acquia drupal tutorial code
You may need a Github token to push code to your repo from your VM, see ĭownload the Drush 9 aliases for your Acquia credentials page, as shown: App Token (with secret key), easily generated at
#Acquia drupal tutorial free
Git repo address for your free environment, e.g. Start a text clipping to collect a few API keys and other details you will need in the upcoming steps.Īpplication ID of your Acquia Free environment (which you can get from the url) Once you've verified that DrupalVM works, go ahead and destroy it with vagrant destory 1a2b3c3f (use your machine ID). Type vagrant global-status to view which VMs are available. It only about 10 mins to install DrupalVM using these commands: cd ~/Sites/ The (( ) guide for DrupalVM provides much more detail then I do here. ProTip: I recommend installing DrupalVM before you install BLT. Type php -m to see which extensions are installed (e.g.Type php -ini to identify the path to your loaded configuration file.Consider using Homebrew or on WSL, Linuxbrew to install PHP 7.2 or other dev tools.If you type php -version it should indicate PHP 7.2 or better.Setting up your host matchine (Mac, Windows, Linux) with PHP and Composer is outside the scope of this tutorial, but here are some general commands to check out your system: Do not initialize the repo with a README.Use the same fun name as before (optional).When asked to choose a distribution, select the top item, which is **None** Enter a fun name, such as "kiwifruit", "pepper", or "purple" Contentsīefore you begin Create the Acquia Free sandbox
#Acquia drupal tutorial windows
This tutorial assumes you are on a Mac, but I also wrote a quick start for Drupal and BLT on Windows 10. To save time, create the Acquia Cloud Free environment before you start the tutorial. Allow about one hour to follow this tutorial and become familiar with BLT.
