-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
2 changed files
with
19 additions
and
1 deletion.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
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,19 @@ | ||
# Maintenance | ||
|
||
## How to upgrade | ||
|
||
There are different things that can be upgraded: | ||
|
||
- The python package dependencies (normal dependencies and dev dependencies) | ||
-- Check outdated Python packages: `inv show-outdated` (check Python section in output) | ||
-- `poetry update` will update packages according to their version range in `pyproject.toml` | ||
-- Other upgrades (e.g. major versions) must be upgraded by modifying the version range in `pyproject.toml` before calling `poetry update` | ||
- Javascript dependencies | ||
-- Check outdated Javascript packages: `inv show-outdated` (check Javascript section in output) | ||
-- `npm update` will update packages according to their version range in `package.json` | ||
-- Other upgrades (e.g. major versions) must be upgraded by modifying the version range in `packages.json` before calling `npm update` | ||
-- After an upgrade make sure the files in `static/vendor` still link to the correct files in `node_modules`1 | ||
- Python and Poetry in `Dockerfile` that builds the container where RADIS runs in | ||
- Dependent services in `docker-compose.base.yml`, like PostgreSQL or Vespa database | ||
- Gitpod development container dependencies in `.gitpod.Dockerfile` | ||
- Github Codespaces development container dependencies in `.devcontainer/devcontainer.json` and `.devcontainer/Dockerfile` |