vortichoose.blogg.se

Acquia drupal tutorial
Acquia drupal tutorial










acquia drupal tutorial
  1. #Acquia drupal tutorial for free#
  2. #Acquia drupal tutorial how to#
  3. #Acquia drupal tutorial manual#
  4. #Acquia drupal tutorial code#
  5. #Acquia drupal tutorial free#

Make sure Drupal exists in your local repo If it doesn’t, you may have one of a number of things to do. That should open up your default web browser and display the homepage of your site. $conf = FALSE Start locally testing your cloned Drupal siteĬlick on the Local site link provided by your stack.

#Acquia drupal tutorial code#

To avoid needing to turn off the CSS and JavaScript file compression settings in Drupal’s performance options on the live site before dumping the database for local use, simply add the following two lines of code into (preferably the bottom of) your settings.php file in the root of your cloned repository’s. If you don’t want CSS/JS compression turned on, which you won’t when making front-end changes, you may need to turn it off on the live site before exporting the database (remember to turn it back on in the live site afterwards).

#Acquia drupal tutorial manual#

In our cloud hosting options, when the database dump is selected for downloading, a message notification appears when the Amazon S3 link is ready for a manual click and download. I downloaded a copy of the live database from the live hosting panel of the repository. I then chose this database dump file in the corresponding field on Acquia Dev Desktop. The database dump file was renamed simply to be more human-readable, so I knew what it was in future. Therefore I changed the PHP version accordingly. Everything else pretty much populates itself, although I made the following tweaks.įor this particular site, the hosting environment is using PHP 5.4+ but not yet fully tested with PHP 5.5.

acquia drupal tutorial

I selected the following ‘Import local Drupal site’ options:įor the top option ‘Local codebase folder’, I chose the root folder for the repo I had cloned. Click this option and you will get the following options (see below). The default welcome window provides an option to ‘Start with an existing Drupal site located on my computer’.

acquia drupal tutorial

Open up your stack (in my case Acquia Dev Desktop 2). In SourceTree press GitFlow in the top-right of the main UI, to check that the branches and prefixes are ok.Ĭonnect your cloned repo to your local stackįinally, so that you can see the changes you make locally without pushing (uploading) them to a hosting environment, you will need to connect your cloned repository to the stack you installed earlier. In our Git workflow this is usually the Master branch.Įnter the pass phrase you confirmed when generating the SSH key pairs earlier, and you should be good to go ahead with Cloning. By default, it probably will be, but better safe than sorry. This path should ideally be inside the directory you chose for local sites to be stored when you installed your stack (in my case Acquia Dev Desktop 2), and the name of the folder for this clone to something a little more human-readable, for your sake.Ĭhange the Name field to the exact same as the folder you have renamed, for consistency.Īlso, in the drop-down, check that the ‘Checkout branch’ is the branch you want to be cloning. From here, you will probably be asked to enter the pass phrase you entered when generating the SSH key.Ĭhange the Destination Path to match where you want it cloned. It will look something like this: you paste the URL into SourceTree, in the Source URL, click on the field for Destination Path.

  • From here, access the URL and copy it using cmd+c.
  • In the cloud hosting environment, navigate to the development tab/panel for the repository you are wanting to clone.
  • acquia drupal tutorial

    #Acquia drupal tutorial free#

    Once installed, feel free to also add your GitHub account while installing, if your account contains repos you want to work on locally.

    #Acquia drupal tutorial for free#

    You can download and install SourceTree for free here This tool should also be able to push (effectively uploading) your changes back to the repository so that they can be merged with the ‘master branch’ which you cloned.

  • Merging and pushing your changes to live with Sourcetreeįirst you need to use a tool that can connect via SSH to the repository you need, and then clone (download) everything you require to start making changes.
  • Applying theme changes to the cloned site with CSS.
  • Downloading and connecting to your live site's Drupal database dump file.
  • Cloning an existing Drupal site repository using Sourcetree.
  • Creating an SSH key in Terminal on the Mac.
  • Setting up a local stack (in this case Acquia Dev Desktop 2).
  • #Acquia drupal tutorial how to#

    This is part two of a three-part tutorial where you will learn how to use a Git GUI with Drupal to make some theme tweaks on a live site.












    Acquia drupal tutorial