feature: added create_annual_contributions command
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 Actor
s 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