Skip to content
Corridor V1.26.08 is out, see what's new

Technology

Apply a Patch Script

Ask AI

How to apply a patch script to an existing Corridor installation with the patch command, without doing a full reinstall.

Corridor has an option to apply a patch to the existing codebase, without doing a complete new installation. This can be done by running the command:

The follow components support this command: corridor-api, corridor-app, corridor-worker.

Terminal window
corridor-api patch <<filename.py>>

To check the options available for other components:

  • corridor-app
Terminal window
corridor-app patch --help
  • corridor-worker
Terminal window
corridor-worker patch --help

Example of a patch being run:

Terminal window
$ corridor-api patch patch-v1.14.3-hello-world.py
Hello World!

Contents of the file patch-v1.14.3-hello-world.py:

print('Hello World!')