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:
Matthew Jones
2017-12-05 23:46:18 -05:00
parent 9488105381
commit da0b686369
6 changed files with 30 additions and 6 deletions

View File

@@ -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'