2018-10-27 14:49:45 -06:00
|
|
|
Maintenance
|
|
|
|
===========
|
|
|
|
|
|
|
|
|
2019-01-02 09:42:57 -07:00
|
|
|
Updating Python dependencies
|
|
|
|
----------------------------
|
|
|
|
To update the Python dependencies:
|
|
|
|
|
2019-01-07 09:13:36 -07:00
|
|
|
#. Execute script to refresh `requirements{-dev}.txt` files:
|
2019-01-02 09:42:57 -07:00
|
|
|
|
|
|
|
$ ./contrib/refresh-requirements.sh
|
|
|
|
|
2019-01-07 09:13:36 -07: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
|
|
|
|
------------------------------
|
|
|
|
The frontend dependencies are managed with `npm` as defined in the `package.json`.
|
|
|
|
The following are required to perform an update of the dependencies:
|
|
|
|
|
|
|
|
#. Bump versions in `package.json`
|
|
|
|
|
|
|
|
#. Download and install the latest version of the dependencies
|
|
|
|
|
|
|
|
$ npm install
|
|
|
|
|
|
|
|
#. Move the installed version into to satnogs-db source tree
|
|
|
|
|
|
|
|
$ ./node_modules/.bin/gulp
|
|
|
|
|
|
|
|
#. Stage & commit the updated files in `db/static/`.
|