New Environments
Dresktop supports the creation of both local (desktop) and cloud environments for your applications, allowing you to choose the setup that best fits your needs. Creating a desktop environment allows you to set up a local Drupal instance using Docker.
- Click in the application: Click in the application row in order to expand the view.
- Click the "Add environment" button: Located within the expanded view.
New Environment Form
- Environment Name: Enter a name for your new environment.
- Production mode: Check the "Enable production mode" in case your application is ready for production.
- Select Environment Type: Choose between the creation of a local desktop or connect to a cloud environment.
Desktop Environment
Desktop environments are created using Docker. Every environment is a set of several containers like database, servers and custom services.
Services:
- Adminer: A lightweight database management tool integrated into your environment, making it easy to manage your database.
- Mailpit: An email testing tool to capture and view emails sent by your Drupal application, useful for testing email functionality.
Create New or Import
- Application's Root Path: Select the new Drupal application path. It needs to be empty.
- Web Root Path: Directory for the web root folder.
Cloud Environment
Setting up a cloud environment involves connecting Dresktop to your remote server via SSH. This allows you to manage your live Drupal sites directly from the application. Ensure your remote server meets the necessary requirements and has SSH access enabled. Fill the following fields:
- URI: The URI of the remote server.
- Host: The hostname or IP address of the remote server.
- User: The SSH username for accessing the remote server.
- SSH key path: Path to the SSH private key file used for authentication.
- Application's Root Directory: The root directory of the Drupal application on the remote server.
- Webroot Directory: Directory for the web root folder on the remote server.
- Drush Directory: Directory where Drush is installed on the remote server.
Click "Create"
After filling in the necessary information, click "Create". Dresktop will set up the new environment, configuring the necessary files and settings.
Database Configuration
When creating a new Drupal environment with Dresktop, the following default database credentials are used:
- Database Name:
drupal
- Username:
drupal
- Password:
drupal
- Host:
database