Skip to content

Multi-Shop config confusion #34

@resistorsoftware

Description

@resistorsoftware

Hi,

Config file has two shops, one live and one for dev. Both have valid keys and work when uploading files. That is, you can switch to one shop or the other and upload files to the correct store.

If you have two shops and set the use="live" directive to point to the live store, which is second in the list, and use the bundle command to switch to the live store, you get confirmation that you've switched. If you now use the bundle option to download the entire theme, you may notice, like I did, that it downloads from the dev site.

You may notice that when you upload changes to the live site and realize you've overwritten the live site with code from the dev site, like I did. You may notice that this is not what you wanted. I know I did.

I am now convinced that there is a better way to deal with multi-sites, and it involves the use of my trusty vim editor, separate directories for dev and live code, and git! Actually, I knew that all along... but anyway...

I am not sure anyone else will ever experience this... but I replicated it again just for kicks, to make sure I was not dreaming in technicolour the first time it happened. This time around, I was wise enough to really really check my code... and there you go.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions