Add single-click startup with devcontainers

This commit is contained in:
Kevin Today 2025-07-03 19:11:21 -03:00
commit b368b1dc8f
4 changed files with 5015 additions and 8 deletions

22
start-n8n-with-custom-node.sh Executable file
View file

@ -0,0 +1,22 @@
#!/bin/bash
set -e
set -x
N8N_NODES_DIR=~/.n8n/custom
# Build the node
npm install
npm run lint
npm run build
npm link
package_name="$(npm run getPackageName -s)"
mkdir -p "${N8N_NODES_DIR}"
cd "${N8N_NODES_DIR}"
# Link the custom node into n8n
npm link "${package_name}"
# Start the server
n8n