abenkbp commited on
Commit
7b75d8a
·
1 Parent(s): d7b48c0
Files changed (1) hide show
  1. app.py +1 -2
app.py CHANGED
@@ -10,9 +10,8 @@ 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 = "echo 'export PATH=$PATH:/home/user/.nvm/versions/node/v20.15.1/bin' >> /home/user/.bashrc && source /home/user/.bashrc"
14
  subprocess.Popen(update_env, shell=True, executable='/bin/bash').wait()
15
- subprocess.call(["npm", "install", "-g", "n8n"])
16
 
17
  # Get the API key from environment variables
18
  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
+ update_env = "echo 'export PATH=$PATH:/home/user/.nvm/versions/node/v20.15.1/bin' >> /home/user/.bashrc && source /home/user/.bashrc && 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"