- Create a virtualenv
pip install -r requirements.txt- Update
SKIP_API_KEYwith a valid value insettings.py ./manage.py collectstatic./manage.py migrate./manage.py runserver- Visit
localhost:8000/skip
This section is under maintenance, as it isn't 100% clear that the instructions couldn't be simplified.
- Add
skip_dpd,bootstrap4, anddjango_plotly_dash.apps.DjangoPlotlyDashConfigtoINSTALLED_APPSinsettings.py. - Add
SKIP_API_KEYwith an appropriate value tosettings.py. - Add
X_FRAME_OPTIONS = 'SAMEORIGIN'tosettings.py. - Copy
PLOTLY_COMPONENTS = [<various>]fromskip_dpd_base/settings.pytosettings.py. - Add
path('django_plotly_dash/', include('django_plotly_dash.urls'))to your top levelurls.py(Note: in a TOM built with the TOM Toolkit, this may cause problems as it may need to live specifically intom_common/urls.pybut this is untested). - Add
path('skip/', include('skip_dpd.urls', namespace='skip'))tourls.pywherever you want it (e.g.,tom_alerts/urls.py).