From 1fdd357278277889090a7fa632dba57c0b657dd1 Mon Sep 17 00:00:00 2001 From: Gary Date: Thu, 14 Mar 2024 13:04:43 -0700 Subject: [PATCH] fix boarding error after merge with v4.0.0-beta.238 --- .../views/livewire/boarding/index.blade.php | 342 ++---------------- 1 file changed, 40 insertions(+), 302 deletions(-) diff --git a/resources/views/livewire/boarding/index.blade.php b/resources/views/livewire/boarding/index.blade.php index 42a45f927..f8018c0fb 100644 --- a/resources/views/livewire/boarding/index.blade.php +++ b/resources/views/livewire/boarding/index.blade.php @@ -2,39 +2,34 @@
@if ($currentState === 'welcome') -

Welcome to your Last Hour Cloud

-

Let's help you to set up the basics and show you around.

+

Welcome to Last Hour Cloud

+

Let me help you set up the basics.

- Let's Start - -
-

Welcome to your Last Hour Cloud

-

Let's help you to set up the basics and show you around.

-
- Let's Start + Get + Started
@endif
@if ($currentState === 'explanation') - + - Last Hour Cloud is an all-in-one application to automate tasks on your servers, deploy application with Git + Last Hour Cloud is an all-in-one application to automate tasks on your servers, deploy applications with Git integrations, deploy databases and services, monitor these resources with notifications and alerts without vendor lock-in and much much more.

- +
-

You do not to manage your servers too much. This does +

You don't need to manage your servers anymore. Last Hour Cloud does it for you.

-

All configurations are stored on your server, so - everything works without this (except integrations and automations).

-

You will get notified on your favourite platform (Discord, - Telegram, Email, etc.) when something goes wrong, or if an action is needed from your side.

+

All configurations are stored on your servers, so + everything works without a connection to Last Hour Cloud (except integrations and automations).

+

You can get notified on your favourite platforms (Discord, + Telegram, Email, etc.) when something goes wrong, or an action is needed from your side.

Next @@ -45,56 +40,23 @@ @if ($currentState === 'select-server-type') - Do you want to deploy your resources on your - or on a ? + Do you want to deploy your resources to your + or to a ? Localhost - - - Do you want to deploy your resources on your - or on a ? - - - Localhost - - Remote Server - - @if (!$serverReachable) - Localhost is not reachable with the following public key. -

- Please make sure you have the correct public key in your ~/.ssh/authorized_keys file for user - 'root' or skip the guided tour and add a new private key manually to Last Hour Cloud and to the - server. -
- Check the upstream documentation for further help. - - Check again - - @endif -
- -

Servers are the main building blocks, as they will host your applications, databases, - services, called resources. Any CPU intensive process will use the server's CPU where you - are deploying your resources.

-

Localhost is the server where Last Hour Cloud is running on. It is not recommended to use one server - for everything.

-

Remote Server is a server reachable through SSH. It can be hosted at home, or from any cloud - provider.

-
-
Remote Server @if (!$serverReachable) Localhost is not reachable with the following public key.

Please make sure you have the correct public key in your ~/.ssh/authorized_keys file for user - 'root' or skip the guided tour and add a new private key manually to Last Hour Cloud and to the + 'root' or skip the boarding process and add a new private key manually to Last Hour Cloud and to the server.
- Check the upstream documentation for further help. + Check this upstream documentation for further help. Check again @@ -138,38 +100,7 @@

SSH Keys are used to connect to a remote server through a secure shell, called SSH.

-

You can use your own ssh private key, or you can allow Last Hour Cloud to create one for you.

-

In both ways, you need to add the public version of your ssh private key to the remote - server's - ~/.ssh/authorized_keys file. -

-
-
- - - Do you have your own SSH Private Key? - - - Yes - - No (create one for me) - - @if (count($privateKeys) > 0) -
- - @foreach ($privateKeys as $privateKey) - - @endforeach - - Use this SSH Key -
- @endif -
- -

SSH Keys are used to connect to a remote server through a secure shell, called SSH.

-

You can use your own ssh private key, or you can allow Last Hour Cloud to create one for you.

+

You can use your own ssh private key, or you can let Last Hour Cloud to create one for you.

In both ways, you need to add the public version of your ssh private key to the remote server's ~/.ssh/authorized_keys file. @@ -219,52 +150,7 @@

Private Keys are used to connect to a remote server through a secure shell, called SSH.

-

You can use your own private key, or you can let Last Hour Cloud create one for you.

-

In both ways, you need to add the public version of your private key to the remote server's - ~/.ssh/authorized_keys file. -

-
-
- - - There are already servers available for your Team. Do you want to use one of them? - - -
-
- No (create one - for - me) - -
-
-
- - @foreach ($servers as $server) - - @endforeach - - Use this Server -
-
-
- @if (!$serverReachable) - This server is not reachable with the following public key. -

- Please make sure you have the correct public key in your ~/.ssh/authorized_keys file for user - 'root' or skip the boarding process and add a new private key manually to Last Hour Cloud and to the - server. - - Check - again - - @endif -
- -

Private Keys are used to connect to a remote server through a secure shell, called SSH.

-

You can use your own private key, or you can let Last Hour Cloud create one for you.

+

You can use your own private key, or you can let Last Hour Cloud to create one for you.

In both ways, you need to add the public version of your private key to the remote server's ~/.ssh/authorized_keys file.

@@ -294,33 +180,7 @@

Private Keys are used to connect to a remote server through a secure shell, called SSH.

-

You can use your own private key, or you can let Last Hour Cloud create one for you.

-

In both ways, you need to add the public version of your private key to the remote server's - ~/.ssh/authorized_keys file. -

-
-
- - - Please let me know your key details. - - -
- - - - @if ($privateKeyType === 'create') - - ACTION REQUIRED: Copy the 'Public Key' to your server's - ~/.ssh/authorized_keys - file. - @endif - Save - -
- -

Private Keys are used to connect to a remote server through a secure shell, called SSH.

-

You can use your own private key, or you can let Last Hour Cloud create one for you.

+

You can use your own private key, or you can let Last Hour Cloud to create one for you.

In both ways, you need to add the public version of your private key to the remote server's ~/.ssh/authorized_keys file.

@@ -330,15 +190,15 @@
@if ($currentState === 'create-server') - + - Please let us know your server details. + Please let me know your server details.
- - + +
@@ -352,33 +212,7 @@ -

Username should be for now. We are working on using - non-root users.

-
- - - - Please let us know your server details. - - -
-
- - -
-
- - - -
-
- -
- Continue -
-
- -

Username should be for now. We are working on using +

Username should be for now. We are working on to use non-root users.

@@ -388,8 +222,8 @@ @if ($currentState === 'validate-server') - we need to validate your server (connection, Docker Engine, etc) and configure to see if something is - missing. Are you okay with this? + I need to validate your server (connection, Docker Engine, etc) and configure if something is + missing for me. Are you okay with this? @@ -398,30 +232,7 @@ - Send it! - - - - -

This will install the latest Docker Engine on your server, configure a few things to be able - to run optimal.

Minimum Docker Engine version is: 22

To manually install Docker - Engine, check this - documentation.

-
-
- - - we need to validate your server (connection, Docker Engine, etc) and configure to see if something is - missing. Are you okay with this? - - - - Validate & configure - - - - - Send it! + Let's do it! @@ -456,8 +267,8 @@ -

This will install the latest Docker Engine on your server and configure a few items to be able - to run optimally.

+

This will install the latest Docker Engine on your server, configure a few things to be able + to run optimal.

@endif @@ -467,14 +278,15 @@ @if (count($projects) > 0) - You already have some projects. Do you want to use one of them or should we create a new one for + You already have some projects. Do you want to use one of them or should I create a new one for you? @else - We will create an initial project for you. You can change it later on. + Let's create an initial project for you. You can change all the details later on. @endif - Create New Project + Create new + project!
@if (count($projects) > 0)
@@ -491,9 +303,9 @@
-

Projects put together several resources into one virtual group. There are no - limitations on the number of projects you can have here.

-

Each project should have at least one environment. This helps you to create a production & +

Projects contain several resources combined into one virtual group. There are no + limitations on the number of projects you can add.

+

Each project should have at least one environment, this allows you to create a production & staging version of the same application, but grouped separately.

@@ -503,94 +315,20 @@ @if ($currentState === 'create-resource') - Next we will redirect you to the resource page, where you can create your first resource. + Let's go to the new resource page, where you can create your first resource.
Let's do it!
-

A resource is an application, a database or a service (like WordPress).

+

A resource could be an application, a database or a service (like WordPress).

@endif
-Traefik -v2 - - - Nginx - - - Caddy - -
- -

This will install the latest Docker Engine on your server and configure a few items to be able - to run optimally.

-
-
-@endif -
--}} -
- @if ($currentState === 'create-project') - - - @if (count($projects) > 0) - You already have some projects. Do you want to use one of them or should we create a new one for - you? - @else - We will create an initial project for you. You can change it later on. - @endif - - - Create New Project -
- @if (count($projects) > 0) - - - @foreach ($projects as $project) - - @endforeach - - Use this Project - - @endif -
-
- -

Projects put together several resources into one virtual group. There are no - limitations on the number of projects you can have here.

-

Each project should have at least one environment. This helps you to create a production & - staging version of the same application, but grouped separately.

-
-
- @endif -
-
- @if ($currentState === 'create-resource') - - - Next we will redirect you to the resource page, where you can create your first resource. - - -
Let's do - it!
-
- -

A resource is an application, a database or a service (like WordPress).

-
-
- @endif -
-
\ No newline at end of file