Skip to content

Commit

Permalink
Merge pull request #6091 from mzimandl/fixes17
Browse files Browse the repository at this point in the history
old nodejs install script is back
  • Loading branch information
tomachalek authored Jan 31, 2024
2 parents 035b0c4 + 461743f commit 87a30c2
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions scripts/install/install.py
Original file line number Diff line number Diff line change
Expand Up @@ -86,9 +86,9 @@
'pip', '--upgrade'], stdout=stdout)
subprocess.check_call(['pip3 install simplejson \'celery==4.4.*\' signalfd -r requirements.txt'],
cwd=KONTEXT_PATH, stdout=stdout, shell=True)
subprocess.check_call('curl -fsSL https://deb.nodesource.com/gpgkey/nodesource-repo.gpg.key | sudo gpg --dearmor -o /etc/apt/keyrings/nodesource.gpg', shell=True)
subprocess.check_call('echo "deb [signed-by=/etc/apt/keyrings/nodesource.gpg] https://deb.nodesource.com/node_18.x nodistro main" | sudo tee /etc/apt/sources.list.d/nodesource.list', shell=True)
subprocess.check_call('sudo apt-get update && sudo apt-get install nodejs -y', shell=True)
subprocess.check_call(
'curl -fsSL https://deb.nodesource.com/setup_18.x | sudo -E bash -', shell=True)
subprocess.check_call('sudo apt-get install -y nodejs', shell=True)
except Exception as ex:
print(f'failed to install dependencies: {ex}')

Expand Down

0 comments on commit 87a30c2

Please sign in to comment.