mirror of
https://github.com/ansible/awx.git
synced 2026-04-27 20:55:23 -02:30
Adding jupyter notebook support to the AWX development environment
* Jupyter starts alongside the other awx services and is available on 0.0.0.0:8888 * make target: make jupyter * default settings in settings/development.py * Added jupyter, matplotlib, numpy to dev dependencies
This commit is contained in:
@@ -19,6 +19,18 @@ from split_settings.tools import optional, include
|
||||
# Load default settings.
|
||||
from defaults import * # NOQA
|
||||
|
||||
# awx-manage shell_plus --notebook
|
||||
NOTEBOOK_ARGUMENTS = [
|
||||
'--NotebookApp.token=',
|
||||
'--ip', '0.0.0.0',
|
||||
'--port', '8888',
|
||||
'--allow-root',
|
||||
'--no-browser',
|
||||
]
|
||||
|
||||
# print SQL queries in shell_plus
|
||||
SHELL_PLUS_PRINT_SQL = False
|
||||
|
||||
# show colored logs in the dev environment
|
||||
# to disable this, set `COLOR_LOGS = False` in awx/settings/local_settings.py
|
||||
LOGGING['handlers']['console']['()'] = 'awx.main.utils.handlers.ColorHandler'
|
||||
|
||||
Reference in New Issue
Block a user