Creating new environments
Getting started
A "new environment" in this context is one that contains a supported platform application, and is not an existing project. New environments can be used for testing, development of new features, or as the basis for a project that then can become cloned by other users.
dx-install
The dx-install
command is used to create a new environment.
Guided setup
When you run this command from an SSH command line you will be guided through a set of questions that enable you to define the configuration of your new environment. These questions are:
- Project name
- This is used to create a new directory within
~/projects/
- therefore, it must be unique.
- This is used to create a new directory within
- Application type
- For example, Magento 2 or Shopware.
- Application version
- This allows you to specify a specific version of the application. For Magento 2 you could, for example, specify '2.4.5-p2'.
- Edition type
- For applications like Magento 2, there are different editions.
- This enables you to install, for example, the Open Source or Commerce edition.
- In the case of the Commerce edition, you can additionally choose to install the B2B edition.
- For Magento, you will need Magento repo access keys.
- PHP version
- Sample data
- Some applications enable you to install sample data.
- For example with Magento, you can choose between the standard Luma sample data or extended Magento Performance Toolkit testing data (which is more comprehensive).
The creation of the environment takes around 5 minutes in most cases. For the first environment that you create, it could take significantly longer if the relevant Docker images are not already present in your Cloud DX Server.
What the process looks like
Here is an example of a new environment being setup. It takes around 4 minutes.
Password requirements
Various steps within the installation process require you to authenticate a password. You may see a prompt like...
[sudo] password for ontap:
Credentials for repo.magento.com
For Magento 2 installations, you will be asked to input credentials for repo.magento.com. If you do not have any, please review this documentation in order to set these up.
Please note, if you want to install the Commerce or B2B editions, then you must use credentials with the necessary permissions to allow that. Please speak to your Adobe representative to facilitate this on your account.
Environment details
Once your environment has been created, you will be given the access details. Please make a note of these somewhere. This includes the web address that you can use to access your application.