User:MEpps (WMF)/donation pipeline setup

Before you get too far down this list, see Installing the software stack on the fundraising tech team page, where we explain how to accomplish all of these things the easy way, with Vagrant.

Installing CRM
Clone the repo:

Once you have your virtual host setup and pointing to /path/to/crm/drupal, you can run through the installer for drupal to generate a settings.php file. Once it's created, you'll want to add these lines and fill in your usernames and passwords. You'll want to manually create the additional databases as well.

Installing PaymentsWiki
Clone the repo

git clone https://gerrit.wikimedia.org/r/mediawiki/core

cd core

git checkout fundraising/REL1_27

git submodule update --init --recursive

cd skins

git clone https://git.wikimedia.org/git/mediawiki/skins/Vector.git

Once you have your virtual host pointing to the directory, you can run through the installer to get LocalSettings.php. Then add these lines to enable to correct extensions.

rsyslog.d
If you are running your payments environment in ubuntu, we recommend setting up the log buckets in rsyslog.d in largely the same way we set them up on the payments cluster.
 * in /etc/rsyslog.d, create a file called 60-payments.conf
 * Insert the following code into 60-payments.conf

Test Data
git clone https://gerrit.wikimedia.org/r/wikimedia/fundraising/dash

cd dash/test_data

Note: These scripts assume your databases are named drupal and civicrm.