Skip to content

Latest commit

 

History

History
41 lines (29 loc) · 898 Bytes

development.md

File metadata and controls

41 lines (29 loc) · 898 Bytes

Development

To set up a development environment, follow these steps:

  1. Install Go >=1.23, golangci-lint and make.

  2. Clone this repository and create a config file.

git clone https://github.com/n8n-io/task-runner-launcher
cd task-runner-launcher
touch config.json && echo '<json-config-content>' > config.json
sudo mv config.json /etc/n8n-task-runners.json
  1. Make your changes.

  2. Build launcher:

make build
  1. Start n8n >= 1.69.0:
export N8N_RUNNERS_ENABLED=true
export N8N_RUNNERS_MODE=external
export N8N_RUNNERS_AUTH_TOKEN=...     # random string
pnpm start
  1. Start launcher:
export N8N_RUNNERS_AUTH_TOKEN=...     # same string as in step 5
make run

Tip

You can use N8N_RUNNERS_LAUNCHER_LOG_LEVEL=debug for granular logging and NO_COLOR=1 to disable color output.