Looking for DB setup script.
Describe the desired information/correction
I am looking for a script allowing for initialization and/or migration of the database, without starting peertube itself. Is that already provided?
I am looking to install the plugins through a configuration file, rather than an interface and for that I am looking at the following steps:
- initialize peertube
- install plugins
- restart peertube
With a script/command that can set the database itself up, the restart of the peertube instance would not be needed.
Hello,
Can you describe your use case? Why don't you want to start peertube and then install plugins you want?
Our use case is configuring peertube in a way that is ready to be deployed.
An example: Using peertube for supporting conferences is in the back of our mind, but we want to be able to test the configuration and be able to deploy the configuration (with a tool suited for deployments). We are not looking at deploying peertube at the time of setup and then manually installing the plugins through a ui.
Is starting and automatically stopping PeerTube after DB creation a solution for you?
Ping @a-kenji
Ah, thank you for the ping!
Is starting and automatically stopping PeerTube after DB creation a solution for you?
This is indeed our current solution and it works. We thought since other functionality is exposed as a script, it could be sensible that the DB creation would be as well, which would make the initial setup a little bit smoother.
If you think this is out of scope, we of course understand.
It's an interesting use case, but unfortunately we won't have time to maintain such script. If the start & stop peertube doesn't work don't hesitate to comment this issue so we can find another solution :)