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:

  1. Log in to the Admin.

  2. Click Stores > Settings > Configuration > General > General.

  3. 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.

    Switch websites

  4. In the right pane, expand Store Information.

  5. If necessary, clear the Use Default checkbox next to the VAT Number and Store Name fields.

  6. Enter a number in the field (for example, 12345).

  7. In the Store Name field, enter a value (like My Store).

  8. Click Save Config.

  9. In the left navigation, under General, click Contacts.

  10. In the right pane, expand Email Options.

  11. If necessary, clear the Use Default checkbox next to the Send Emails To field.

  12. Enter an e-mail address in the field.

  13. Click Save Config.

  14. Use the Store View list to select the Default Config as the following figure shows.

    Switch to the default config

  15. In the left pane, click Customers > Customer Configuration.

  16. In the right pane, expand Create New Account Options.

  17. If necessary, clear the Use system value checkbox next to the Default Email Domain field.

  18. Enter a domain name in the field.

  19. Click Save Config.

  20. If prompted, flush the cache.