Skip to content

An open-source, self-hostable PaaS alternative to Vercel, Heroku & Netlify that lets you easily deploy static sites, databases, full-stack applications and 360+ one-click services on your own servers.

Have Sail and SSU. Runs a command on a remote host.

Joao Patricio232e907363f7
diff --git a/app/Http/Livewire/RunCommand.php b/app/Http/Livewire/RunCommand.php
index 96add0fb37..b61cc0374f 100755
--- a/app/Http/Livewire/RunCommand.php
+++ b/app/Http/Livewire/RunCommand.php
@@ -22,22 +22,7 @@ class RunCommand extends Component
public function runCommand()
{
$this->isKeepAliveOn = true;
-
- // Override manual to experiment
- $override = 0;
-
- if ($override) {
- // Good to play with the throttle feature
- $sleepingBeauty = 'x=1; while [ $x -le 40 ]; do sleep 0.1 && echo "Welcome $x times" $(( x++ )); done';
-
- $this->activity = coolifyProcess(<<<EOT
- cd projects/dummy-project
- # ~/.docker/cli-plugins/docker-compose build --no-cache
- $sleepingBeauty
- EOT, 'testing-host');
-
- return;
- }
+
$this->activity = coolifyProcess($this->command, 'testing-host');
}