Sobre esta formación

Nosotras estamos aquí para ayudar

¿Tienes problemas para tomar una decisión sobre esta formación?

contact_support Pregúntanos cualquier cosa

Tab details

Dashboard 

Hosting_dashboard.png

The Dashboard tab contains various statistics regarding your development, staging, or production environment (depending on which environment you are in).

You can use search filters to choose a specific time period for displaying your statistics (1). To return to the initial state, click the refresh button.

For bar charts, you can customize the display in columns or rows according to your preferences (2).

Hovering over each chart, a tooltip appears with data details (3).

Currently, the statistics available on the PS platform are:

  • Pages viewed on your online store
  • The number of users connected simultaneously
  • Response times for page generation
  • Network bandwidth
  • Processor usage (CPU)
  • Memory consumption

Deploy

The configuration is only accessible in the development environment; it is not possible to deploy to another environment.

Deployment via Git

The deploy to PS Hosting feature is only available if you choose to deploy via Git (1).

Pour déployer quelque chose, vous devez d'abord commit et push les modifications.

In the same tab (DEPLOY), the new validations appear (never deployed).

You need to press the button DEPLOY NOW (2) to deploy the new commits pushed to the branch. This will deploy them to the environment. This is not necessary if you have activated the Automatic deployment (3).

Hosting_deploy.png

File transfer via SFTP

If you disable deployment via Git, you will need to transfer your files via SFTP outside of the PS Hosting interface.

Changes made via SFTP are immediately live, no further action is necessary.

 

Status

The Status tab is only accessible in staging and production environments.

In this tab you will find information about the latest deployment.

Hosting_status.png

 

Events

On this Events tab you will find all the actions carried out on the environment with dates and times, as well as the user who carried out the action.

Hosting_events.png

 

Commits 

The Commits tab is only accessible in the development environment.

On this Commits tab, you will find all the commits that have been deployed to Git with dates and times, as well as the user who performed the commit.

Hosting_commits.png

 

Logs

On this tab, you can view a list of Get/Post method logs, PHP error logs, Apache access logs, and MySQL slowness logs, allowing you to start debugging instantly.

If you wish, you can also download a copy of your application's logs.

Hosting_logs.png

 

Credentials

Hosting_credentials.png

Administration PrestaShop

On each environment's credentials page, scroll down to the "PrestaShop Admin" section. There you will find a button that will take you directly to the PrestaShop administration interface. Make sure to copy the username and password to the clipboard, as you will be asked to enter these details.

Git

Here you will find the Git repository URL and branch. You also have the option to reset the Git password.

SFTP / SSH

Here you can find the "Host", "Port" and "Username" fields. Authentication will always be done with your SSH key (entered in your account settings).

Database

Logging in to PhpMyAdmin is very easy. On each environment's credentials page, scroll down to the "Database" section. There you will find a button that will take you directly to the PhpMyAdmin interface. Make sure to copy the username and password to the clipboard, as you will be asked to enter these details.

 

Export

In the Export tab you can download a copy of the database in zip format. Click the Export Database button to perform this operation.

Hosting_export.png

 

Variables

PS Hosting provides a list of read-only environment variables needed to configure the database connection. Next to this predefined list, you can configure your own values, unique per environment. The Variables tab on the details page is where everything gets configured. Variables are sorted so that read-only variables are displayed first. Below, the editable and custom variables you have defined are displayed.

Why use it ?

An often used alternative is the .env file. It is typically used only on local development environments and is excluded from version control. The downside of using a file to control variables is that the web server will perform I/O to disk on each request. In contrast, on PS Hosting, environment variables are injected into the web server.

Noticed

.env files can coexist with environment variables at the web server level. Note that variables defined in the .env file will not overwrite existing variables that have been defined.

Hosting_variables.png

 

Slow pool

Sometimes certain queries can be very slow to execute, thus slowing down the generation of certain pages in your store. This can cause timeout errors on your store. This is often the case in the PrestaShop back office. With the slow pool feature available on PS Hosting, you have the ability to add folders or files and bypass wait times.

Hosting_slowpools.png

 

Terminal

Hosting_terminal1.png

Hosting_terminal2.png

To access your application via a web terminal, you can obtain a list of possible commands by typing "?" and pressing Enter. When you click the “Launch Web Terminal” button, you will be redirected to a new browser tab. Fill in the user and password fields, then your web terminal will be launched.

 

Back-up

You have two options in this tab. You can restore the last backup of the site. You have information on the day and time of the backup as well as its contents.

You can also create a new backup manually by clicking the "Create new backup" button.

Hosting_backup.png

 

File access

In this tab, you can create SFTP access for your team members or external service providers. You also have the option to restrict SFTP access to certain folders on your server.

Hosting_fileaccess.png

 

DNS & URLS

After you activate the production environment, you need to make changes to your DNS entries. These changes are usually made at the registrar level, but they can also be made on a third-party tool, for example Cloudflare.

In the DNS and URL(s) tab, it is necessary to add the domains that will point to the server.

After pointing domain names and registering your domains in the platform, you should be able to enable SSL (HTTPS).

Hosting_dns.jpg

⚠️ Este artículo ha sido traducido por un programa de traducción automática.