Administration ScriptsΒΆ

Most administration features are available to administrators through the user interface. Some features which are rarely used or which would be useful for scripting purposes are available as scripts, so that they can be run using the SampleDB command line interface.

If you are running SampleDB using Docker, you can execute these scripts using docker exec. To get a list of all available scripts, you can run:

docker exec sampledb env/bin/python -m sampledb help

To then get a list of all actions, for example, you can run:

docker exec sampledb env/bin/python -m sampledb list_actions

To get information on how to run one of these scripts, you can run pass the help parameter to it:

docker exec sampledb env/bin/python -m sampledb list_actions help