logo
Interact with the Artisan console or execute ad-hoc scripts.

Configuration

To proxy the manage.py shell command, execute the following command within your root application path.
shell
hoop run --name django-demo --command 'manage.py shell'
To proxy ad-hoc executions add the command manage.py shell - .
shell
hoop run --name django-demo --command 'manage.py shell -'

How to Use

Users can now connect and perform ad-hoc executions.
shell
hoop connect django-demo
it will proxy the manage.py shell command
shell
hoop exec django-demo -i 'print("Hello World")'
it will run the command print("Hello World") as an ad-hoc execution.

Powered by Notaku