2018-10-27 14:49:45 -06:00
|
|
|
Maintenance
|
|
|
|
===========
|
|
|
|
|
|
|
|
|
2019-01-02 09:42:57 -07:00
|
|
|
Updating Python dependencies
|
|
|
|
----------------------------
|
2019-04-26 06:57:50 -06:00
|
|
|
|
2019-01-02 09:42:57 -07:00
|
|
|
To update the Python dependencies:
|
|
|
|
|
2019-04-26 15:25:30 -06:00
|
|
|
#. Execute script to refresh ``requirements{-dev}.txt`` files::
|
2019-01-02 09:42:57 -07:00
|
|
|
|
2019-04-26 15:25:30 -06:00
|
|
|
$ ./contrib/refresh-requirements.sh
|
2019-01-02 09:42:57 -07:00
|
|
|
|
2019-04-26 15:25:30 -06:00
|
|
|
#. Stage and commit ``requirements{-dev}.txt`` files.
|
2019-01-02 09:42:57 -07:00
|
|
|
|
|
|
|
|
2018-10-27 14:49:45 -06:00
|
|
|
Updating frontend dependencies
|
|
|
|
------------------------------
|
|
|
|
|
2019-04-26 06:57:50 -06:00
|
|
|
The frontend dependencies are managed with ``npm``.
|
|
|
|
To update the frontend dependencies, while respecting semver:
|
2018-10-27 14:49:45 -06:00
|
|
|
|
2019-04-26 06:57:50 -06:00
|
|
|
#. Update all the packages listed in ``package.json``::
|
2018-10-27 14:49:45 -06:00
|
|
|
|
2019-04-26 06:57:50 -06:00
|
|
|
$ npm update
|
2018-10-27 14:49:45 -06:00
|
|
|
|
2019-04-26 06:57:50 -06:00
|
|
|
#. Test and copy the newly downlodaded static assets::
|
2018-10-27 14:49:45 -06:00
|
|
|
|
2019-04-26 06:57:50 -06:00
|
|
|
$ ./node_modules/.bin/gulp
|
2018-10-27 14:49:45 -06:00
|
|
|
|
2019-04-26 06:57:50 -06:00
|
|
|
#. Stage and commit ``package-lock.json`` file.
|