ara-manage commandline interface¶
ara-manage
is a command provided by ARA when the API server dependencies
are installed.
It is an alias to the python manage.py
command interface provided by Django
and they can be used interchangeably if you are running ARA from source.
Note
Django comes with a lot of built-in commands and they are not all used or relevant in the context of ARA so they might not be exposed, tested or documented.
This documentation provides information about commands which we think are relevant.
If you do not find a command documented here, you can find more information about it in the Django documentation.
Please feel free to send a patch if we’re missing anything !
ara-manage¶
ara-manage prune¶
Used to delete playbooks that are older than a specified amount of days.
ara-manage changepassword¶
Change the password for a user.
Relevant when working with authentication.
ara-manage createsuperuser¶
Superusers are relevant when setting up authentication.
ara-manage makemigrations¶
Generally used to generate new SQL migrations after modifying the database model files.
ara-manage migrate¶
Runs SQL migrations.
They need to be run at least once before the API server can start.
ara-manage runserver¶
Runs the embedded development server.
Note
Good for small scale usage.
Consider deploying with a WSGI application server and a web server for production use.
ara-manage generate¶
Generates a static version of the built-in reporting web interface.
Note
Good for small scale usage but inefficient and contains a lot of small files at a large scale.