From e83d377bda944d3190b16f247ccbc1653cdac94c Mon Sep 17 00:00:00 2001 From: Gary Date: Wed, 6 Mar 2024 12:30:24 -0800 Subject: [PATCH] main: fix url and typo --- resources/views/components/navbar.blade.php | 4 +- .../views/livewire/boarding/index.blade.php | 268 +++++++++++++++++- 2 files changed, 268 insertions(+), 4 deletions(-) diff --git a/resources/views/components/navbar.blade.php b/resources/views/components/navbar.blade.php index adb0feb0b..fc6768801 100644 --- a/resources/views/components/navbar.blade.php +++ b/resources/views/components/navbar.blade.php @@ -158,10 +158,10 @@ -
  • +
  • - +
    diff --git a/resources/views/livewire/boarding/index.blade.php b/resources/views/livewire/boarding/index.blade.php index 00494c1b7..42a45f927 100644 --- a/resources/views/livewire/boarding/index.blade.php +++ b/resources/views/livewire/boarding/index.blade.php @@ -8,19 +8,25 @@ 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 + +
    @endif
    @if ($currentState === 'explanation') - Last Hour Cloud is an all-in-one application to automate tasks on your servers, deploy applications with Git + Last Hour Cloud is an all-in-one application to automate tasks on your servers, deploy application 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 @@ -45,7 +51,40 @@ 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) @@ -106,6 +145,37 @@

    + + + 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.

    +

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

    +
    +
    @endif
    @@ -155,6 +225,51 @@

    + + + 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.

    +

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

    +
    +
    @endif
    @@ -185,6 +300,32 @@

    + + + 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.

    +

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

    +
    +
    @endif
    @@ -215,6 +356,32 @@ non-root users.

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

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

    +
    +
    @endif
    @@ -242,6 +409,29 @@ 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! + + + + +

    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.

    +
    +
    @endif
    {{--
    @@ -329,4 +519,78 @@ Skip Guided Tour Restart Guided Tour
    +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