Before you begin
Before you begin, set up file system permissions and ownership as discussed in Prerequisite for development, build, and production systems.
Assumptions
This topic provides an example of modifying the production system configuration. You can choose different configuration options if you wish.
For the purposes of this example, we assume the following:
- You use Git source control
- The development system is available in a Git remote repository named
mconfig
- Your Git working branch is named
m2.2_deploy
Step 1: Set the configuration in the development system
To set the default locale and weight units in your development system:
-
Log in to the Admin.
-
Click Stores > Settings > Configuration > General > General.
-
If you have more than one website available, use the Store View list in the upper left corner to switch to a different website as the following figure shows.
-
In the right pane, expand Store Information.
-
If necessary, clear the Use Default checkbox next to the VAT Number and Store Name fields.
-
Enter a number in the field (for example,
12345
). -
In the Store Name field, enter a value (like
My Store
). -
Click Save Config.
-
In the left navigation, under General, click Contacts.
-
In the right pane, expand Email Options.
-
If necessary, clear the Use Default checkbox next to the Send Emails To field.
-
Enter an e-mail address in the field.
-
Click Save Config.
-
Use the Store View list to select the Default Config as the following figure shows.
-
In the left pane, click Customers > Customer Configuration.
-
In the right pane, expand Create New Account Options.
-
If necessary, clear the Use system value checkbox next to the Default Email Domain field.
-
Enter a domain name in the field.
-
Click Save Config.
-
If prompted, flush the cache.