Skip to main content

Update configuration file

This command will overwrite a file on the server if it already exists

The rest is similar to the loonar env push command

  1. Run loonar env update in the project directory
  2. Enter project name, default it is your folder name
  3. Choose configuration file based on your wordpress structure
    • Bedrock - .env
    • Default - wp-config.php

The configuration file will be sent to the server. The name of the file will be changed to this format:

    • Project name: your-project
    • Configuration file: .env
    • Result: your-project-env
    • Project name: my-project
    • Configuration file: wp-config.php
    • Result: my-project-wp-config.php