Magento 2 CLI
The last part of the Magento section in the Stratus management panel allows you to run custom Magento CLI commands. The commands are all equivalent to running php bin/magento
Create an admin user example
Lets look at creating an admin user through the panel. To start you need the following:
- Admin username
- A first name
- A last name
- An email address
A password of at least 7 characters with both numeric and alphabetic characters
Open your Stratus management panel and expand the Magento
- Click CLI Commands to bring up the command wizard
- Select admin:user:create from the command selection dropdown.
- In the 2nd box, marked Step 2 for command arguments, add
bash -–admin-user testuser1 -–admin-password ohyeah1234 -–admin-email email@example.com -–admin-firstname mage -–admin-lastname wakka
substituting for your preference
- Click Run Command near the bottom right.