abenkbp commited on
Commit
f31b7b9
·
1 Parent(s): b190f14
Files changed (1) hide show
  1. app.py +4 -2
app.py CHANGED
@@ -10,8 +10,10 @@ node = "source /home/user/.bashrc && source /home/user/.nvm/nvm.sh && nvm instal
10
  subprocess.call(["pip","install","--upgrade","pip"])
11
  subprocess.call("curl -o- file:///home/user/app/data/setup.sh | bash", shell=True, executable='/bin/bash')
12
  subprocess.Popen(node, shell=True, executable='/bin/bash').wait()
13
- update_env = "npm install -g n8n"
14
- subprocess.Popen(update_env, shell=True, executable='/bin/bash').wait()
 
 
15
 
16
  # Get the API key from environment variables
17
  key = "UCODE_SECRET"
 
10
  subprocess.call(["pip","install","--upgrade","pip"])
11
  subprocess.call("curl -o- file:///home/user/app/data/setup.sh | bash", shell=True, executable='/bin/bash')
12
  subprocess.Popen(node, shell=True, executable='/bin/bash').wait()
13
+ 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
 
18
  # Get the API key from environment variables
19
  key = "UCODE_SECRET"