Skip to content
Snippets Groups Projects
user avatar
plup authored
05106165

SOLID Invoicing

An invoicing web component respecting both the web components standards and the Linked Data Platform convention.

Configuration

Once activated the component requires a configuration of the Terms endpoint in order to generate invoice properly.

Contribution

Get the code:

$ git clone --recurse-submodules https://git.startinblox.com/djangoldp-packages/djangoldp-invoice.git

Run the LDP server:

$ python3 -m venv env
$ . env/bin/activate
(env) $ pip install -U pip wheel
(env) $ pip install -e ./djangoldp-invoice/
(env) $ cd env && djangoldp initserver devserver
(env) $ cd devserver && vim settings.yml
ldppackages:
  - djangoldp_invoice

(env) $ djangoldp configure --with-dummy-admin
(env) $ python manage.py loaddata projects.json invoices.json
(env) $ djangoldp runserver

Run the Web client:

$ npm install
$ npm run serve