Migrate to HTMX (#114)

Dropped Livewire
Added HTMX
Added Blade code lint
Drop Mysql and Redis
Migrate to SQLite
This commit is contained in:
Saeed Vaziry
2024-03-06 17:02:59 +01:00
committed by GitHub
parent 5b2c419e91
commit b2083fc6b2
486 changed files with 8609 additions and 8707 deletions

View File

@ -9,9 +9,7 @@
use App\Events\Broadcast;
use App\Exceptions\SourceControlIsNotConnected;
use App\Facades\Notifier;
use App\Jobs\Site\ChangePHPVersion;
use App\Jobs\Site\Deploy;
use App\Jobs\Site\DeployEnv;
use App\Jobs\Site\UpdateBranch;
use App\Notifications\SiteInstallationFailed;
use App\Notifications\SiteInstallationSucceed;
@ -234,7 +232,8 @@ public function php(): ?Service
public function changePHPVersion($version): void
{
dispatch(new ChangePHPVersion($this, $version))->onConnection('ssh');
$this->php_version = $version;
$this->server->webserver()->handler()->changePHPVersion($this, $version);
}
public function getDeploymentScriptTextAttribute(): string
@ -288,11 +287,6 @@ public function getEnvAttribute(): string
return $typeData['env'];
}
public function deployEnv(): void
{
dispatch(new DeployEnv($this))->onConnection('ssh');
}
public function activeSsl(): HasOne
{
return $this->hasOne(Ssl::class)