CiviCRM/WordPress: Difference between revisions

No edit summary
m Text replacement - "<(\/?)source" to "<$1syntaxhighlight"
 
(2 intermediate revisions by 2 users not shown)
Line 1: Line 1:
{{CompanyName}} setup CiviCRM on top of WordPress for Coastal Trails Coalition in order to substantially improve operations.
{{CompanyName}} setup CiviCRM on top of WordPress for Coastal Trails Coalition in order to substantially improve operations.


CiviCRM gives us all benefits and capabilities of a large commercial CRM and donor management system completely free of licensing costs. CiviCRM allows non-profits to benefit from an integrated solution for donor management, events, bulk email, etc. substantially increasing their effectiveness as compared to managing a variety of non-
CiviCRM gives us all benefits and capabilities of a large commercial CRM and donor management system completely free of licensing costs. CiviCRM allows non-profits to benefit from an integrated solution for donor management, events, bulk email, etc. substantially increasing their effectiveness as compared to managing a variety of non-


So, what in particular did I need to do in order to setup CiviCRM, and test or convert operations?  This article with explore and document that effort.
So, what in particular did I need to do in order to setup CiviCRM, and test or convert operations?  This article with explore and document that effort.
Line 77: Line 77:


=== Using WP-CLI to upgrade plugins ===
=== Using WP-CLI to upgrade plugins ===
# go to the document root
# go to the document root <pre>cd /var/www/html</pre>
cd /var/www/html
# update all the plugins with wp-cli <pre>sudo -u www-data wp plugin update --all</pre>
# update all the plugins with wp-cli
sudo -u www-data wp plugin update --all


=== Using WP-CLI to upgrade CiviCRM ===
=== Using WP-CLI to upgrade CiviCRM ===
Line 92: Line 90:


=== Traditional-style procedure ===
=== Traditional-style procedure ===
<source lang="bash">
<syntaxhighlight lang="bash">
sudo su -
sudo su -
/home/greg/bin/backup.db.sh wordpress
/home/greg/bin/backup.db.sh wordpress
Line 116: Line 114:
rm ~/civicrm.settings.php.bak
rm ~/civicrm.settings.php.bak
rm -rf $backup
rm -rf $backup
</source>
</syntaxhighlight>