1.8 KiB
1.8 KiB
Installing a PGP
Note
This is REQUIRED to be installed on the same machine that has access to the database and that has the billingstack-manage command.
Note
A PGP Can be installed either inside a virtualenv where the bs core is installed or in a system wide install.
Python modules
Clone a provider repo off of github:
$ git clone git@github.com:billingstack/billingstack-braintree.git
Install it in the SAME environment / virtualenv as the main billingstack core:
$ pip install -rtools/setup-requires -rtools/pip-requires -rtools/pip-options $ python setup.py develop
Registering the PGP
Note
So while the module is actually installed Python wise, it's needed to load up some data into the database so the system knows of its existance.
Install the PGP module using the process described above.
Register
pgp
with it'spgm
:$ billingstack-manage pg-register
Check the logs that the utility gives and list out registered pgp's:
$ billingstack-manage pg-list