Modify local Drupal site on Acquia AMP stack for upload to Server

Assuming you have already installed Core Drupal on your Acquia AMP stack then you can upload your website to the web server after making the following modifications:

  1. Modify the settings file to reflect the new server name and database:
    • Change the “base_url” to reflect the url (domain name and path) of the Drupal installation on the server.
    • Change the “db_url” to reflect the database user on the server. You will also need to modify the host from “127.0.0.1” to “localhost”.
    • Change the “username” to reflect the database user on the server.
    • Change the “password” to reflect the database password on the server.
    • Change the “host” from “127.0.0.1” to “localhost”.
    Web Design Northern Ireland Settings

    settings.php

  2. Drupal can have multiple setting.php files: one for each Drupal installation and also a default settings.php.
  3. Web Design Northern Ireland Edit and Copy

    Edit settings.php and copy to Default Folder


  4. If you only have one Drupal installation on your target server then you can just keep the default settings.php file and delete the project specific settings.php. This can make troubleshooting any issues more straightforward as you can be certain that Drupal is using the settings.php file that you are expecting it to use.
Web Design Northern Ireland Default Settings

Default settings.php

Related Posts:

If you need a web designer in Northern Ireland please contact us at Abipo Web Design Northern Ireland.

Install Core Drupal on Acquia DAMP stack

To run Drupal on your local computer requires that you install and configure the following four components: Drupal, Apache, MySQL and PHP. These components are collectively referred to as a DAMP stack. Acquia have made it a breeze to get up and running with their “Dev Desktop” DAMP stack which installs and configures all four components in one simple installation. One caveat is that it includes Acquia Drupal as opposed to the more commonly used core Drupal. After installing Acquia Drupal, you can easily import core Drupal as a new site. Here are instructions on how to do this:

  1. Download and install the latest version of Acquia Drupal Dev Desktop.
  2. Acquia Drupal Installer - Versions

    Acquia Drupal Installer - Versions

     

  3. Download and unpack the latest version of core Drupal it to a local directory.
  4. On the Acquia Dev Desktop Control Panel, select the ‘Localhost’ dropdown menu and choose ‘more’.
  5. Click the ‘Import’ button and fill in the details as follows:
    • Set the ‘site path’ folder to the location where the latest version of core Drupal resides.
    • Select the ‘Create new database’ radio button and give the database a name.
    • Choose a local server name to run your core Drupal installation from. It is not possible to use ‘localhost’.
  6. Acquia Drupal - Import Core Drupal

    Acquia Drupal - Import Core Drupal

  7. Click the Import button and wait for the import to complete successfully.
  8. Click on the ‘Go to my site’ button to view your core Drupal installation running on your local server.

Related Posts:

Drupal is a cost effective CMS solution that is built on an open platform. It allows complex websites to be built in a relatively short space of time. Once Drupal is up and running, even non-technical users can easily manage and maintain their online content. If you are a small business in Northern Ireland and would like a Drupal website, please contact us for more information.

The Top 3 Uses for Dropbox

Dropbox

Dropbox

Extra Dropbox Storage

Introduction

A favorite tool of mine that helps me manage my myriad of scattered web design files and applications is Dropbox. This article discusses my top three uses for Dropbox. Before we get into that I would like to point out that Dropbox is a must have for every computer user for the following reasons:

    • Syncing

After you install Dropbox on your local machine you will have a Dropbox folder that behaves just like any other folder except that its contents are synced up to the Dropbox cloud in the background while you work.

    • Speed

The upload speed to the cloud can be astounding. This is because Dropbox is intelligent and will not upload the same file if someone else has already uploaded it. Rather, Dropbox will just cross-reference your account to the existing file. If the file has been changed recently, it will only upload/download the changes rather than the whole thing. What this means is that you can drop a 1GB file into your Dropbox and it is possible that it will be uploaded in just a few seconds!

    • Backups

Dropbox keeps a history of all deleted and earlier versions of files for 30 days minimum. Therefore, if your file becomes corrupt or gets deleted accidentally, you can easily return to a previously saved version using the web interface.

    • Secure Storage

Dropbox is secure. All transmission of file data occurs over an encrypted channel and all files stored on Dropbox servers are encrypted (AES-256)

    • Accessibility

Dropbox can be accessed from Mac, Windows, iPhone Android and Blackberry.

    • Sharing

You can share Dropbox folders to friends. Anything you put in your shared out Dropbox folder will also appear in your friend’s corresponding Dropbox folder. You can also share photos by providing a link. When friends click on the link they can view your photos as a slideshow.

Here are my top three uses for Dropbox:

    1. 1Password

1Password is the premier password management tool for Mac OSX, Windows, the iPhone and Android. It allows you to generate strong, unique passwords and store them with corresponding usernames and other login details. After opening 1Password and selecting the web page you want to log on to, 1Password will automatically open the browser, fill in username and password fields and log on for you.

1Password has been engineered to sync with Dropbox. With 1Password and Dropbox you are combining a robust and powerful password manager with the ability to share passwords between multiple computers including mobile devices such as the iPhone. Install 1Password on each computer / device and when you add a new password it will be automatically synced to the 1Password application installed on the other machines.

    1. TrueCrypt

Using TrueCrypt you can create a secure, encrypted volume inside your Dropbox. Alternatively, you can have your Dropbox folder inside a TrueCrypt volume. Each method offers different advantages:

TrueCrypt volume inside Dropbox folder
This method offers ultimate security and ensures that files will be stored in an encrypted state in the Dropbox cloud and also on each computer. Install TrueCrypt on each of your computers with which you use Dropbox and then create an encrypted TrueCrypt volume inside one Dropbox folder. Wait for all your computers to sync up and then test mounting and dismounting the volume on each computer to ensure everything is working as expected. The initial sync may take some time, but subsequent syncs should be fast. With this method you must unmount the TrueCrypt volume before it can be uploaded by Dropbox.

Dropbox folder inside TrueCrypt volume
This method ensures that files in your Dropbox folder on your computer are encrypted. They will not be encrypted in the Dropbox cloud or on other computers that sync with Dropbox unless you encrypt those Dropbox folders also. This can be useful for example, if you have one computer in particular that is more vulnerable to theft (maybe a laptop that is out on the road a lot) and you don’t feel the need or want the hassle of installing TrueCrypt on the other computers. Install TrueCrypt on the machine that is to have the Dropbox folder encrypted. Mount the volume and then install Dropbox. Specify the mounted volume as the location where you would like to have your Dropbox folder.

    1. Portable Apps

Rather than carry all your portable apps around on a USB Key, you can share them between different computers using your Dropbox folder.

It can be very convenient to have certain utility apps available to you on the all the computers that you use without having to install them on each one. Small and useful applications such as Beyond Compare, NotePad++, SnagIt and Toad etc can all be installed once into a folder on your Dropbox and automatically synced across all the machines you use.

Extra Dropbox Storage

If you don’t already have Dropbox you can get a free 2GB account plus 256MB EXTRA free by clicking here.

Happy Syncing!