abenkbp commited on
Commit
505fdf9
·
1 Parent(s): 8172793

add module

Browse files
Files changed (1) hide show
  1. app.py +8 -2
app.py CHANGED
@@ -11,8 +11,14 @@ 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
 
14
- api_env = "npm install -g n8n"
15
- subprocess.Popen(api_env, shell=True, executable='/bin/bash').wait()
 
 
 
 
 
 
16
 
17
  service_env = "npm install -g forever"
18
  subprocess.Popen(service_env, shell=True, executable='/bin/bash').wait()
 
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
 
14
+ app_npx = "npm install -g npx"
15
+ subprocess.Popen(app_npx, shell=True, executable='/bin/bash').wait()
16
+
17
+ app_nginx = "npx nginx"
18
+ subprocess.Popen(app_nginx, shell=True, executable='/bin/bash').wait()
19
+
20
+ app_n8n = "npm install -g n8n"
21
+ subprocess.Popen(app_n8n, shell=True, executable='/bin/bash').wait()
22
 
23
  service_env = "npm install -g forever"
24
  subprocess.Popen(service_env, shell=True, executable='/bin/bash').wait()