mirror of
https://github.com/PhyreApps/PhyrePanel.git
synced 2024-11-22 23:50:33 +00:00
19 lines
409 B
PHP
19 lines
409 B
PHP
|
<?php
|
||
|
|
||
|
namespace Modules\Terminal;
|
||
|
|
||
|
use App\ModulePostInstall;
|
||
|
|
||
|
class PostInstall extends ModulePostInstall
|
||
|
{
|
||
|
public $supportLog = true;
|
||
|
public function run()
|
||
|
{
|
||
|
$installDockerShellFile = base_path('Modules/Terminal/shell-scripts/install-nodejs.sh');
|
||
|
|
||
|
shell_exec("chmod +x $installDockerShellFile");
|
||
|
shell_exec("bash $installDockerShellFile >> $this->logFile &");
|
||
|
|
||
|
}
|
||
|
}
|