Skip to content

Commit

Permalink
Merge pull request #10
Browse files Browse the repository at this point in the history
Bjarne vo
  • Loading branch information
BjarneVO authored Dec 18, 2024
2 parents 1ac19e1 + 5096497 commit adc7f88
Show file tree
Hide file tree
Showing 10 changed files with 65 additions and 16 deletions.
4 changes: 2 additions & 2 deletions TurboStack App/howto_newapp.md
Original file line number Diff line number Diff line change
Expand Up @@ -69,8 +69,8 @@ system_users:
cert_type: selfsigned
```
!!!info Info
a system_user ie. `prod` is needed before an application can be deployed
!!!
a system_user (eg. `prod`) is needed before an application can be deployed
!!!

![TurboStackNewApp](../img/turbostackapp/newapp/tsa_app11.png)
49 changes: 36 additions & 13 deletions TurboStack App/howto_newuser.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,37 +4,35 @@ icon: person
---
# Accounts Management

## Creating a new account

### What is an account and where is it used for?
## What is an account and where is it used for?

The account is a linux user which can be used to just access the server, however you probably want to deploy one or multiple **applications** under this user. Note that we do not allow to run an application on the root user for security reasons.

Furthermore in general we also don't recommend to run different (types of) applications under the same user. Typically you would run several applications under one user when you have single git repo or source code folder with different applications or application endpoints.
Furthermore, in general, we also don't recommend to run different (types of) applications under the same user. Typically you would run several applications under one user when you have single git repo or source code folder with different applications or application endpoints.

In the [TurboStack App](https://my.turbostack.app "TurboStack App"), you can create accounts in two ways: either by creating a brand-new account or by cloning an existing one.

!!!
For staging and production instances of an application, best practice is always to use an entirely different server, because it's by design unvoidable resources allocated for staging, will be (silently) "taken away" from production. Even when this staging application is rarely used, it would still be loaded for example in database memory and other parts.
!!!

## Creating a new account

### How to deploy a new account in the GUI

Creating a new user on the `<a href="https://my.turbostack.app" target="_blank">`TurboStack App `</a>`.
Creating a new user on the [TurboStack App](https://my.turbostack.app "TurboStack App").

* Open the TurboStack App
* Open the server view

1. Go to the `Accounts` page
![TurboStackNewUser](../img/turbostackapp/newapp/tsa_user1.png)

![TurboStackNewUser](../img/turbostackapp/newapp/tsa_user2.png)

![TurboStackNewUser](../img/turbostackapp/newapp/tsa_user3.png)

![TurboStackNewUser](../img/turbostackapp/newapp/tsa_user4.png)

1. Go to the accounts page
2. Add a new account (user)
![TurboStackNewUser](../img/turbostackapp/newapp/tsa_user2.png)
3. Give the account a name and save
![TurboStackNewUser](../img/turbostackapp/newapp/tsa_user3.png)
4. `Save and Publish` will deploy the change to the host
![TurboStackNewUser](../img/turbostackapp/newapp/tsa_user4.png)

### How to deploy a new account in the source YAML [!badge icon="alert" text="Advanced"]

Expand All @@ -51,3 +49,28 @@ system_users:
Now an account is created. Applications can be installed.
Example, [Deploy a Magento2 application](./howto_newapp.md)
## Cloning an account
To make a clone of an existing application of an existing application, we provide the `Clone Account` feature. This function replicates the entire configuration and copies the files and database, enabling a quick and efficient setup with minimal effort.

Here’s how to do it:

1. Navigate to the `Accounts` tab in the TurboStack App under your host.
![TurboStackNewUser](../img/turbostackapp/newapp/tsa_user6.png)
2. Click `Clone Account`.
![TurboStackNewUser](../img/turbostackapp/newapp/tsa_user7.png)
3. In the next step, select the source host. This can be either the current server or another server you manage.
![TurboStackNewUser](../img/turbostackapp/newapp/tsa_user8.png)
4. Choose the account you want to clone, then click `Next`.
![TurboStackNewUser](../img/turbostackapp/newapp/tsa_user9.png)
5. You'll be prompted to decide whether to copy the source account to an existing account or create a new account. Make your selection and click `Next`.
![TurboStackNewUser](../img/turbostackapp/newapp/tsa_user10.png)
6. Select the hostname(s) you'd like to associate with the account and choose the type of certificate you want to activate. Click `Next` to finalize.
![TurboStackNewUser](../img/turbostackapp/newapp/tsa_user11.png)

And that’s it! Your application is now cloned to a new account. Be sure to save the configuration and publish it when you're ready.




2 changes: 1 addition & 1 deletion about_turbostack/pricing.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ TurboStack®, the fastest software stack designed to be fully configurable. Take
### Put an end to instability & difficulties in heavy processes
Each environment is configured to ensure the fastest loading times and stability to handle the most abrupt visitor spikes.

Your project can be delivered at lightning speed. Within half an hour we deploy any desired technology or software.Your project can be delivered at lightning speed. Within half an hour we deploy any desired technology or software.
Your project can be delivered at lightning speed. Within half an hour we deploy any desired technology or software.

## Pricing
We have several scalable packages, tailored for the fastest performance. We offer staging & production packages, which can be clustered if needed. [Check out our packages here.](https://www.hosted-power.com/en/turbostack#our-packages)
Binary file added img/turbostackapp/newapp/tsa_user10.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added img/turbostackapp/newapp/tsa_user11.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added img/turbostackapp/newapp/tsa_user6.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added img/turbostackapp/newapp/tsa_user7.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added img/turbostackapp/newapp/tsa_user8.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added img/turbostackapp/newapp/tsa_user9.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
26 changes: 26 additions & 0 deletions turbostack_configuration/Database/phpMyAdmin.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
---
order: 200
icon: database
---
# phpMyAdmin

Introduction

phpMyAdmin is a web-based tool designed to manage MySQL and MariaDB databases. It provides a user-friendly graphical interface, allowing users to perform database tasks without needing to write SQL commands manually. With phpMyAdmin, you can create, modify, and delete databases, tables, fields, and records, as well as execute SQL queries, manage user permissions, and import/export data.
On Turbostack servers with MySQL enabled, phpMyAdmin comes pre-installed by default, making database management convenient and accessible right out of the box!

## How to access phpMyAdmin

To access phpMyAdmin, we need the following:
* The credentials of your SSH and database users, found in the 'credentials' tab in the [TurboStack App](https://my.turbostack.app "TurboStack App").
* A functional web browser

### Via the Turbostack App

phpMyAdmin is easily accessible via the [TurboStack App](https://my.turbostack.app "TurboStack App"). To locate the link, go to `Hosts` > `Manage` > `Accounts` > `Gear icon (x2)` > `Database info`. From there, click the Go to phpMyAdmin link.
Once there, you will encounter a password prompt. Enter your SSH user credentials (account name and password) to proceed.
This will take you to the phpMyAdmin login screen, where you need to enter your database credentials. After logging in, you can manage your databases, including tasks like creating, editing, and deleting databases, tables, and records, running SQL queries, and managing user privileges.

### Via a web browser

If, for any reason, this link is inaccessible, you can still reach phpMyAdmin directly through your web browser. You can do so by opening your web browser and navigating to the default URL with the '/phpadm' URI. For example: https://www.yourdomain.ext/phpadm. From here, you can continue with the same method as described above.

0 comments on commit adc7f88

Please sign in to comment.