2013-03-20 13:00:49 +00:00

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

  1. Clone a provider repo off of github:

    $ git clone git@github.com:billingstack/billingstack-braintree.git
  2. 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.

  1. Install the PGP module using the process described above.

  2. Register pgp with it's pgm:

    $ billingstack-manage pg-register
  3. Check the logs that the utility gives and list out registered pgp's:

    $ billingstack-manage pg-list