Hyeonseo commited on
Commit
5a9e26b
β€’
1 Parent(s): b2a6437

Update env_set.py

Browse files
Files changed (1) hide show
  1. env_set.py +2 -1
env_set.py CHANGED
@@ -7,7 +7,8 @@ def env_set():
7
  subprocess.run(f"wget https://nodejs.org/dist/v17.0.1/node-v17.0.1-linux-x64.tar.xz", shell=True)
8
  subprocess.run(f"tar -xf node-v17.0.1-linux-x64.tar.xz", shell=True)
9
  subprocess.run(f"mv node-v17.0.1-linux-x64 node", shell=True)
10
- subprocess.run(f"npm install -g npm", shell=True)
 
11
  # subprocess.run(f"apt-get install -f", shell=True)
12
  # subprocess.run(f"apt-get install -y fonts-nanum", shell=True)
13
  # subprocess.run(f"fc-cache -fv", shell=True)
 
7
  subprocess.run(f"wget https://nodejs.org/dist/v17.0.1/node-v17.0.1-linux-x64.tar.xz", shell=True)
8
  subprocess.run(f"tar -xf node-v17.0.1-linux-x64.tar.xz", shell=True)
9
  subprocess.run(f"mv node-v17.0.1-linux-x64 node", shell=True)
10
+ subprocess.run(f"export PATH=/home/user/app/node/bin:$PATH", shell=True)
11
+ subprocess.run(f"/home/user/app/node/ install -g npm", shell=True)
12
  # subprocess.run(f"apt-get install -f", shell=True)
13
  # subprocess.run(f"apt-get install -y fonts-nanum", shell=True)
14
  # subprocess.run(f"fc-cache -fv", shell=True)