-
Notifications
You must be signed in to change notification settings - Fork 120
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add checklist for bootstrap installation (#255)
* Add checklist for bootstrap installation * Increment version to 1.4.1 Co-authored-by: Mark Gibbs <mark@gibbs.consulting>
- Loading branch information
Showing
5 changed files
with
40 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -23,4 +23,4 @@ | |
''' | ||
|
||
__version__ = "1.4.0" | ||
__version__ = "1.4.1" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
.. _bootstrap: | ||
|
||
Using Bootstrap | ||
=============== | ||
|
||
The ``django-plotly-dash`` package is frequently used with the ``dash-bootstrap-components`` package, and this | ||
requires a number of steps to set up correctly. | ||
|
||
This section is | ||
a checkist of the required confiuration steps. | ||
|
||
- install the package as descrbed in the :ref:`installation <installation>` section | ||
|
||
- add the various settings in the :ref:`configuration <configuration>` section, particularly | ||
the STATICFILES_FINDERS, PLOTLY_COMPONENTS and MIDDLEWARE ones. | ||
|
||
- install django-bootstrap 4 with ``pip install django-bootstrap4`` and add ``bootstrap4`` to INSTALLED_APPS in the | ||
project's ``settings.py`` file | ||
|
||
- make sure that the settings for serving static files are set correctly, particularly STATIC_ROOT, as | ||
described in the Django `documentation <https://docs.djangoproject.com/en/3.0/howto/static-files/>`_ | ||
|
||
- use the ``prepare_demo`` script or perform the equivalent steps, paricularly the ``migrate`` and ``collectstatic`` steps | ||
|
||
- make sure ``add_bootstrap_links=True`` is set for apps using ``dash-bootstrap-components`` | ||
|
||
- the Django documentation `deployment <https://docs.djangoproject.com/en/3.0/howto/static-files/deployment/>`_ section | ||
covers setting up the serving of static files for production |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -24,6 +24,7 @@ Contents | |
dash_components | ||
configuration | ||
local_assets | ||
bootstrap | ||
demo_notes | ||
access_control | ||
faq | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters