infra:services:hula
Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| infra:services:hula [2025/12/28 12:42] – atluxity_idp.hackeriet.no | infra:services:hula [2026/02/03 09:29] (current) – atluxity_idp.hackeriet.no | ||
|---|---|---|---|
| Line 78: | Line 78: | ||
| === How to perform an API export to JSON file for sync of payment status === | === How to perform an API export to JSON file for sync of payment status === | ||
| + | |||
| + | See also https:// | ||
| + | |||
| < | < | ||
| atluxity@hostname: | atluxity@hostname: | ||
| Line 87: | Line 90: | ||
| </ | </ | ||
| - | You now have a json file! Next step is possible. | + | You now have a json file! Next step is possible. TAKE CARE, there is currently too much PII in the file. Do not leave it unattented. |
| === How to Import to Hula DB via manual script === | === How to Import to Hula DB via manual script === | ||
| - | < | + | See also https:// |
| + | |||
| + | < | ||
| atluxity@blade: | atluxity@blade: | ||
| hackerietweb@blade: | hackerietweb@blade: | ||
| hackerietweb@blade:/ | hackerietweb@blade:/ | ||
| - | (hackerhula-py3.11) | + | (hackerhula-py3.11) |
| + | (hackerhula-py3.11) hackerietweb@blade:/ | ||
| + | atluxity@blade: | ||
| + | </ | ||
| + | |||
| + | TAKE CARE, the json file has too much PII etc, do not leave it unattended. | ||
| + | |||
| + | === Reporting on payments stored in Hula === | ||
| + | To sanity check, or whatever, a small stats command was created to be run in the same way as the sync command above. | ||
| + | < | ||
| + | (hackerhula-py3.11) hackerietweb@blade:/ | ||
| + | usage: manage.py payments_stats [-h] [--from DATE_FROM] [--to DATE_TO] [--last-months LAST_MONTHS] [--last-1-months] [--last-3-months] [--last-6-months] [--last-12-months] | ||
| + | [--format {text, | ||
| + | [--skip-checks] | ||
| + | |||
| + | Report payment statistics from the database | ||
| + | |||
| + | options: | ||
| + | -h, --help | ||
| + | --from DATE_FROM | ||
| + | --to DATE_TO | ||
| + | --last-months LAST_MONTHS | ||
| + | Last N months (e.g. --last-months 3) | ||
| + | --last-1-months | ||
| + | --last-3-months | ||
| + | --last-6-months | ||
| + | --last-12-months | ||
| + | --format {text, | ||
| + | --version | ||
| + | -v {0,1,2,3}, --verbosity {0,1,2,3} | ||
| + | Verbosity level; 0=minimal output, 1=normal output, 2=verbose output, 3=very verbose output | ||
| + | --settings SETTINGS | ||
| + | --pythonpath PYTHONPATH | ||
| + | A directory to add to the Python path, e.g. "/ | ||
| + | --traceback | ||
| + | --no-color | ||
| + | --force-color | ||
| + | --skip-checks | ||
| </ | </ | ||
/srv/hackeriet-wiki/dokuwiki/data/attic/infra/services/hula.1766925770.txt.gz · Last modified: by atluxity_idp.hackeriet.no