- Create a virtualenv
pip install -r requirements.txt
- Update
SKIP_API_KEY
with 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.DjangoPlotlyDashConfig
toINSTALLED_APPS
insettings.py
. - Add
SKIP_API_KEY
with an appropriate value tosettings.py
. - Add
X_FRAME_OPTIONS = 'SAMEORIGIN'
tosettings.py
. - Copy
PLOTLY_COMPONENTS = [<various>]
fromskip_dpd_base/settings.py
tosettings.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.py
but this is untested). - Add
path('skip/', include('skip_dpd.urls', namespace='skip'))
tourls.py
wherever you want it (e.g.,tom_alerts/urls.py
).