mirror of
https://github.com/nikdoof/pacmanager.git
synced 2025-12-13 07:32:15 +00:00
34 lines
1.1 KiB
Markdown
34 lines
1.1 KiB
Markdown
PACManager
|
|
==========
|
|
|
|
PACManager is a Django webapp designed to manage the monthly fees associated with running a PAC (Personal Alt Corp) within TEST Alliance.
|
|
|
|
Why?
|
|
----
|
|
|
|
Managing 20+ PACs became a pain the arse for everyone involved, and with our tax rules it usually ended up with corporations paying the bare minimum required, when actually they owed 5-6x more.
|
|
|
|
Installation
|
|
------------
|
|
|
|
1. Create a virtualenv, pip install requirements.
|
|
2. Setup your flavour of WSGI container and webserver (TEST uses uwsgi and Ngnix)
|
|
3. Schedule some crontabs to run the updatecorps and updatepayments management commands
|
|
|
|
|
|
Configuration
|
|
-------------
|
|
|
|
These options are defined in the "Settings" model.
|
|
|
|
* pac.tax_threshold - The minimum per-month tax value (default 200,000,000)
|
|
* pac.tax_rate - The value at which PACs are taxed at after the threshold (default 10)
|
|
|
|
* payments.keyid - Key ID of the API Key for the payments wallet
|
|
* payments.vcode - vCode for the API Key for the payments wallet
|
|
* payments.last_id - Last RefID processed, only adjust this if you really really need to.
|
|
* payments.corpname - Name of the corp which holds the payments wallet
|
|
|
|
|
|
|