summaryrefslogtreecommitdiff
path: root/README.rst
diff options
context:
space:
mode:
authorAdam Zapletal <adamzap@gmail.com>2024-12-17 15:39:13 -0600
committerGitHub <noreply@github.com>2024-12-17 22:39:13 +0100
commit86dbff9d17882294752aff43484a7c7c9f81e2f0 (patch)
treedd36a0f31abf792316039864b33b76e62cf25797 /README.rst
parent432f85945e8138b9be7dce7db1ca71421fe231cb (diff)
Removed bower
`bower` is maintained but not recommended for use by its developers. Our `bower.json` file now only includes two dependencies: `jquery` and `jquery-flot`. At this point, `bower` is not doing much to serve the project. This is a redo of 98e20a08b69597d9e0c081c20809007b3e363407 which was reverted because it led to errors in production when running collectstatic. Refs #1827
Diffstat (limited to 'README.rst')
-rw-r--r--README.rst21
1 files changed, 3 insertions, 18 deletions
diff --git a/README.rst b/README.rst
index 7e579fc6..a43691aa 100644
--- a/README.rst
+++ b/README.rst
@@ -20,7 +20,6 @@ Install and run locally from a virtual environment
#. Install dependencies::
python3 -m pip install -r requirements/dev.txt
- npm install
Alternatively, use the make task::
@@ -234,23 +233,9 @@ Check out the ``Procfile`` file for all the process names.
JavaScript libraries
--------------------
-This project uses `Bower <https://bower.io/>`_ to manage JavaScript libraries.
-
-At any time, you can run it to install a new library (e.g., ``jquery-ui``)::
-
- npm run bower install jquery-ui --save
-
-or check if there are newer versions of the libraries that we use::
-
- npm run bower ls
-
-If you need to update an existing library, the easiest way is to change the
-version requirement in ``bower.json`` and then to run
-``npm run bower install`` again.
-
-We commit the libraries to the repository, so if you add, update, or remove a
-library from ``bower.json``, you will need to commit the changes in
-``djangoproject/static`` too.
+This project's JavaScript libraries can be found in
+``djangoproject/static/js/lib/``. If you need to add a library, commit the
+minified version of it to this directory.
Documentation search
--------------------