abenkbp commited on
Commit
b190f14
·
1 Parent(s): 7b75d8a
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -10,7 +10,7 @@ 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 && npm install -g n8n"
14
  subprocess.Popen(update_env, shell=True, executable='/bin/bash').wait()
15
 
16
  # Get the API key from environment variables
 
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