Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
bobimicroweber committed Apr 24, 2024
1 parent 4aeff50 commit b265c15
Show file tree
Hide file tree
Showing 7 changed files with 27 additions and 22 deletions.
7 changes: 7 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,13 @@

PHYRE PANEL is a powerful Linux multi-platform hosting control panel designed to simplify the process of managing web hosting servers. Whether you're a seasoned sysadmin or just starting out, PHYRE PANEL provides an intuitive interface and robust features to streamline your hosting management tasks.

## Installation
To install PhyrePanel, you need to run this commands:
```
wget https://raw.githubusercontent.com/PhyreApps/PhyrePanel/main/installers/install.sh && chmod +x install.sh && ./install.sh
```
The admin panel can be opened on port: yourserver.com:8443

## Server Application Types Supported

PHYRE PANEL supports a variety of server application types, including:
Expand Down
2 changes: 2 additions & 0 deletions installers/compile-installers.sh
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ DOWNLOAD_WEB=$(cat ubuntu-20.04/install-partial/download_web.sh)
INSTALL_WEB=$(cat ubuntu-20.04/install-partial/install_web.sh)

# create installer
rm -rf ubuntu-20.04/install.sh
echo "$INSTALL_BASE" >> ubuntu-20.04/install.sh
echo "$DOWNLOAD_WEB" >> ubuntu-20.04/install.sh
echo "$INSTALL_WEB" >> ubuntu-20.04/install.sh
Expand All @@ -19,6 +20,7 @@ DOWNLOAD_WEB=$(cat ubuntu-22.04/install-partial/download_web.sh)
INSTALL_WEB=$(cat ubuntu-22.04/install-partial/install_web.sh)

# create installer
rm -rf ubuntu-22.04/install.sh
echo "$INSTALL_BASE" >> ubuntu-22.04/install.sh
echo "$DOWNLOAD_WEB" >> ubuntu-22.04/install.sh
echo "$INSTALL_WEB" >> ubuntu-22.04/install.sh
1 change: 0 additions & 1 deletion installers/ubuntu-20.04/install-partial/install_base.sh
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@
INSTALL_DIR="/phyre/install"

apt-get update && apt-get install ca-certificates
apt-get upgrade -y

mkdir -p $INSTALL_DIR

Expand Down
1 change: 0 additions & 1 deletion installers/ubuntu-20.04/install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@
INSTALL_DIR="/phyre/install"

apt-get update && apt-get install ca-certificates
apt-get upgrade -y

mkdir -p $INSTALL_DIR

Expand Down
1 change: 0 additions & 1 deletion installers/ubuntu-22.04/install-partial/install_base.sh
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@
INSTALL_DIR="/phyre/install"

apt-get update && apt-get install ca-certificates
apt-get upgrade -y

mkdir -p $INSTALL_DIR

Expand Down
1 change: 0 additions & 1 deletion installers/ubuntu-22.04/install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@
INSTALL_DIR="/phyre/install"

apt-get update && apt-get install ca-certificates
apt-get upgrade -y

mkdir -p $INSTALL_DIR

Expand Down
36 changes: 18 additions & 18 deletions web/app/Livewire/Installer.php
Original file line number Diff line number Diff line change
Expand Up @@ -248,25 +248,25 @@ public function form(Form $form): Form

}),

Wizard\Step::make('Step 3')
->description('Configure your email server')
->schema([

Toggle::make('enable_email_server')
->label('Enable Email Server')
->default(true),


])->afterValidation(function () {

$dovecotInstaller = new DovecotInstaller();
$dovecotInstaller->setLogFilePath(storage_path($this->install_log_file_path));
$dovecotInstaller->install();
// Wizard\Step::make('Step 3')
// ->description('Configure your email server')
// ->schema([
//
// Toggle::make('enable_email_server')
// ->label('Enable Email Server')
// ->default(true),
//
//
// ])->afterValidation(function () {
//
// $dovecotInstaller = new DovecotInstaller();
// $dovecotInstaller->setLogFilePath(storage_path($this->install_log_file_path));
// $dovecotInstaller->install();
//
// // dd(storage_path($this->install_log_file_path));
// }),

// dd(storage_path($this->install_log_file_path));
}),

Wizard\Step::make('Step 4')
Wizard\Step::make('Step 3')
->description('Finish installation')
->schema([

Expand Down

0 comments on commit b265c15

Please sign in to comment.