Skip to content

What's the right step to update magento2 source code #3540

Closed
@woei66

Description

@woei66

My magento2 source code is coming from git clone
and below are my steps to update Magento2 source code on production.
Can anyone help to check these steps are correct?
Thank you.

  1. git pull
  2. composer update
  3. php bin/magento setup:upgrade
  4. php bin/magento setup:static-content:deploy
  5. chown -R nginx:nginx *

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions