Init a fully working dev setup with build+run+migration+seed using docker-compose
What is the problem you are facing?
Its sometimes hard to get a development setup up and running. Most of the tasks are quite repetitive, so it would be great to automate them.
Context
There are some related issues to solve in this go. Most of the required steps are already coded for gitpod: https://dev.funkwhale.audio/funkwhale/funkwhale/-/blob/develop/.gitpod.yml
However, this uses somehow custom management commands, which isn't really generic: https://dev.funkwhale.audio/funkwhale/funkwhale/-/blob/develop/api/funkwhale_api/common/management/commands/gitpod.py
I think we should transform them into more generic management commands:
- Create user with Actor
- Set Password
- Set Instance preferences
- Part of it might be to fetch some example data, like here: https://dev.funkwhale.audio/funkwhale/funkwhale/-/blob/develop/api/funkwhale_api/common/management/commands/gitpod.py#L59
- Import to library by username and name