Fundraising/tech/Installing Drupal and CiviCRM

From Wikitech
Jump to: navigation, search

Contents

Installing Drupal and CiviCRM

You will need to checkout the fundraising Drupal installation.

Checkout the code

First, create a directory to place your installation and then checkout the code.

mkdir -p /www/sites/localhost/civicrm.localhost.wikimedia.org

cd /www/sites/localhost/civicrm.localhost.wikimedia.org

svn co svn+ssh://svn.wikimedia.org/svnroot/wikimedia/trunk/fundraising-civicrm/ .

Configure httpd

Next, you will need to create a virtual host.

Note, Drupal 6 only supports E_ALL error reporting.

vi /www/conf/httpd/sites/civicrm.localhost.wikimedia.org.conf
## civicrm.localhost.wikimedia.org

<VirtualHost *:80>
    ServerName civicrm.localhost.wikimedia.org
    ServerAlias wikimedia-commit.localhost
    DocumentRoot "/www/sites/localhost/civicrm.localhost.wikimedia.org"
    
    php_value error_reporting "E_ALL"
    
    <Directory "/www/sites/localhost/civicrm.localhost.wikimedia.org">

        AllowOverride None
        Order allow,deny
        Allow from all    
    </Directory>
    
</VirtualHost>

Hosts

Configure your local hosts file to route to your site.

sudo vi /etc/hosts
# Development
127.0.0.1               phpmyadmin
127.0.0.1               civicrm.localhost.wikimedia.org
127.0.0.1               wikimedia-fundraising-1.17.localhost.wikimedia.org

This will allow you to access your CiviCRM instance from:

http://civicrm.localhost.wikimedia.org/

Installing Drupal

Proceed to your Drupal instance:

http://civicrm.localhost.wikimedia.org/

This should begin the installation.

You have the option of splitting your database into two parts, one for Drupal and the other for CiviCRM.

For development, Jeremy puts his in a single database: `civicrm`

On production, Drupal is put on `drupal` and CiviCRM is put on `civicrm`.

The choice is yours.

Installing CiviCRM

If you used the checkout from Fundraising for Drupal, you will already have the necessary files to install CiviCRM.

Proceed to the link:

http://civicrm.localhost.wikimedia.org/sites/all/modules/civicrm/install/

to begin configuration.

Configuring CiviCRM

Home > Administer > Site Building > Modules

http://civicrm.localhost.wikimedia.org/?q=admin/build/modules

There are a few modules you will need to set up:

After installing modules, you should update the modules through the administration interface:

http://civicrm.localhost.wikimedia.org/update.php?op=info

Queue to CiviCRM
Drupal site configuration for queue2civicrm
Drupal site configuration for queue2civicrm with limbo queue manager.
Drupal site configuration for queue2civicrm with recurring payments.

Fill out the form located here:

http://civicrm.localhost.wikimedia.org/?q=admin/settings/queue2civicrm

See the screen shots for configuring queue2civicrm.

Do not forget to save before changing tabs for settings.

You may read more about this module on wikitech: queue2civicrm, Queue2CiviCRM

Recurring GlobalCollect Processor
Drupal site configuration for the recurring GlobalCollect processor.

http://civicrm.localhost.wikimedia.org/?q=admin/settings/civicrm_recurring_globalcollect

Thank You

http://civicrm.localhost.wikimedia.org/?q=admin/settings/thank_you

Personal tools
Namespaces

Variants
Actions
Navigation
Ops documentation
Wiki
Toolbox