debug
Browse files
app.py
CHANGED
|
@@ -14,7 +14,7 @@ api_env = "npm install -g n8n"
|
|
| 14 |
subprocess.Popen(api_env, shell=True, executable='/bin/bash').wait()
|
| 15 |
service_env = "npm install -g forever"
|
| 16 |
subprocess.Popen(service_env, shell=True, executable='/bin/bash').wait()
|
| 17 |
-
subprocess.call(["forever","start","n8n"])
|
| 18 |
|
| 19 |
# Get the API key from environment variables
|
| 20 |
key = "UCODE_SECRET"
|
|
|
|
| 14 |
subprocess.Popen(api_env, shell=True, executable='/bin/bash').wait()
|
| 15 |
service_env = "npm install -g forever"
|
| 16 |
subprocess.Popen(service_env, shell=True, executable='/bin/bash').wait()
|
| 17 |
+
subprocess.call(["forever","start","/home/user/.nvm/versions/node/v20.15.1/bin/n8n"])
|
| 18 |
|
| 19 |
# Get the API key from environment variables
|
| 20 |
key = "UCODE_SECRET"
|