There are various command for the app management some are
provided by Flask extensions, some by repocribro. You can
use option --help
to get more information.
Main purpose for this command is to set the initial admin of the app without touching DB directly. Others can be then set within administration zone of web interface.
$ repocribro assign-role --login MarekSuchanek --role admin Loaded extensions: core Role admin not in DB... adding Role admin added to MarekSuchanek $ repocribro assign-role --login MarekSuchanek --role admin Loaded extensions: core User MarekSuchanek already has role admin
For more information:
$ repocribro assign-role --help
Command supplied by Flask-Migrate extension provides tool to work with database migrations (init, migrate, downgrade, upgrade, etc.).
For more information:
$ repocribro db --help
Not implemented yet!
This command will provide simple checking of one or all repositories if there are some uncaught events within specified time. Main idea is to get the missed events (from webhooks) due to app outage.
Runs the web application (app.run()
), but also some settings
can be overriden like hostname, port, debugging, ...
For more information:
$ repocribro runserver --help
Runs the Python shell inside the Flask app context. That can be useful for some debugging by hand.
For more information:
$ repocribro shell --help