A faster route to deploying static content in Magento 2? Dev to Live etc?

前端 未结 8 666
名媛妹妹
名媛妹妹 2021-01-30 07:02

This is my environment. Please note this is also set in the relevant development modes and production modes.

Dev:
https://ar.dev.loc/
https://en.dev.loc/

Live:
         


        
8条回答
  •  小蘑菇
    小蘑菇 (楼主)
    2021-01-30 08:06

    I am not familiar with magneto but this may work for you. When I update my sites I follow those steps:

    Suppose the site is located under site directory.

    $ cp -r site site-update
    
    # update the site in site-update directory
    
    $ mv site site-old && mv site-update site
    

    This way my sites are updated without any downtime.

提交回复
热议问题