Changes

Jump to: navigation, search

Addons development

104 bytes removed, 13:28, 30 May 2014
m
no edit summary
*** /download
** /branches
*** /gramps{{stable_branch}}gramps40
*** /gramps32
**** /contrib
## Checkout gramps-addons:
### svn co https://svn.code.sf.net/p/gramps-addons/code gramps-addons
## Change to trunk or branches/gramps{{stable_branch}} gramps40 directory:### cd gramps-addons/branches/gramps{{stable_branch}}gramps40/contrib# Make a new project directory in gramps-addon/branches/gramps{{stable_branch}}gramps40/contrib:
## mkdir NewProjectName
# Initialize the addon:
To test your addon as you develop it it is suggested that you replace your Gramps user plugin directory with a link to your addon development directory, like so:
cd ~/.gramps/gramps{{stable_branch}gramps41}/ mv plugins/* /wherever/trunk/gramps-addons/branches/gramps{{stable_branch}}gramps41/contrib/
rm -rf plugins
ln -s /wherever/trunk/gramps-addons/branches/gramps{{stable_branch}}gramps41/contrib plugins
Gramps will search this folder (and subdirectories) for .grp.py files, and add them to the plugin list.

Navigation menu