diff options
| author | Adam Zapletal <adamzap@gmail.com> | 2024-12-17 15:39:13 -0600 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-12-17 22:39:13 +0100 |
| commit | 86dbff9d17882294752aff43484a7c7c9f81e2f0 (patch) | |
| tree | dd36a0f31abf792316039864b33b76e62cf25797 /README.rst | |
| parent | 432f85945e8138b9be7dce7db1ca71421fe231cb (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.rst | 21 |
1 files changed, 3 insertions, 18 deletions
@@ -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 -------------------- |
