This plugin provides a connector to connect to a local or remote CiviCRM. This connector can then be reused by other plugins such as the Integration of CiviCRM's Form Processor with Caldera Forms
Configuration
Configuration can be done under Settings > CiviCRM McRestFace Connections.
Plugins using the CiviCRM McRestFace Connector
Funded by
Open a terminal to your wordpress installation.
cd wp-content/plugins
git clone https://github.com/CiviMRF/civimcrestface-wordpress.git wpcmrf
cd wpcmrf
composer install
Then login in the admin of your wordpress installation and activate this plugin.
The code of this plugin is published and maintained at Github. The plugin is also published at Wordpress.org and this requires that we submit each release to the Wordpress SVN
Workflow for development
- Fork the repository at Github
- Create a new branch for the functionality you want to develop, or for the bug you want to fix.
- Write your code and test it, once you are finished push it to your fork.
- Create a Pull Request at Github to notify us to merge your changes.
Workflow for creating a release
Based on the instruction from Learn with Daniel
- Update
readme.txt
with the new version number (also update the Changelog section) - Update
wpcmrf.php
with the new version number - Create a new version at Github.
- To publish the release at Wordpress Plugin directory follow the following steps:
- Create a temp directory:
mkdir civimcrestface-wordpress-tmp
- Go into this directory:
cd civimcrestface-wordpress-tmp
- Do an SVN checkout into SVN directory:
svn checkout https://plugins.svn.wordpress.org/connector-civicrm-mcrestface svn
- Clone the Github repository into Github directory:
git clone https://github.com/CiviMRF/civimcrestface-wordpress.git github
- Go into the Github directory:
cd github
- Checkout the created release (in our example 1.0.0):
git checkout 1.0.0
- Do a composer install:
composer install --no-dev --optimize-autoloader
- Go into the svn directory:
cd ../svn
- Copie the files from github to SVN:
rsync -rc --exclude-from="../github/.distignore" "../github/" trunk/ --delete --delete-excluded
- Add the files to SVN:
svn add . --force
- Tag the release in SVN (in our example 1.0.0):
svn cp "trunk" "tags/1.0.0"
- Now submit to the Wordpress SVN with a message:
svn ci -m 'Adding 1.0.0'
- Create a temp directory:
The plugin is licensed under AGPL-3.0.