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.shellhoop run --name django-demo --command 'manage.py shell'
To proxy ad-hoc executions add the command
manage.py shell -
.shellhoop run --name django-demo --command 'manage.py shell -'
How to Use
Users can now connect and perform ad-hoc executions.
shellhoop connect django-demo
manage.py shell
commandshellhoop exec django-demo -i 'print("Hello World")'
print("Hello World")
as an ad-hoc execution.