Skip to content

feature: added create_annual_contributions command

Calum Mackervoy requested to merge 8-yearly-invoice into master

Closes #8 (closed)

To run the command, in a djangoldp server with djangoldp_energiepartagee installed, run:

python manage.py create_annual_contributions

Testing

I set up some dummy Actors locally and ran the command, and then confirmed that the contributions were created with the expected values manually. I didn't add any unit tests but I can do if desired

Deployment

To run this yearly, we should be able to set up a cron job on our alwaysdata servers (https://help.alwaysdata.com/en/tasks/). Ping @balessan we might need to synchronise about testing and doing that. I haven't done this yet

Merge request reports