From 5ae25b5380c6a327f1910c66117c79ddc89635c3 Mon Sep 17 00:00:00 2001 From: Bozhidar Date: Sun, 28 Apr 2024 13:24:28 +0300 Subject: [PATCH] update --- web/Modules/Terminal/PostInstall.php | 18 ++++++++++++++++++ .../Terminal/shell-scripts/install-nodejs.sh | 3 +++ 2 files changed, 21 insertions(+) create mode 100644 web/Modules/Terminal/PostInstall.php create mode 100644 web/Modules/Terminal/shell-scripts/install-nodejs.sh diff --git a/web/Modules/Terminal/PostInstall.php b/web/Modules/Terminal/PostInstall.php new file mode 100644 index 0000000..1b8291a --- /dev/null +++ b/web/Modules/Terminal/PostInstall.php @@ -0,0 +1,18 @@ +> $this->logFile &"); + + } +} diff --git a/web/Modules/Terminal/shell-scripts/install-nodejs.sh b/web/Modules/Terminal/shell-scripts/install-nodejs.sh new file mode 100644 index 0000000..9fd4811 --- /dev/null +++ b/web/Modules/Terminal/shell-scripts/install-nodejs.sh @@ -0,0 +1,3 @@ +apt-get install npm nodejs -y +cd /usr/local/phyre/web/Modules/Terminal/nodejs/terminal +npm i