-
Notifications
You must be signed in to change notification settings - Fork 31
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Multi-Shop config confusion #34
Comments
hey dave, sorry you had that issue, just to clarify: |
Hi, I wanted to be extra sure I was on live... So I set the config to use="live", and then I used the bundle switch command Hope that helps.. On Tue, Jun 28, 2011 at 10:36 AM, meeech <
|
aye. |
hey - you say you can repro it. (just trying to narrow down what could be causing this) |
Hi, I checked it out... the config reads the same... use is still set to live... On, Jun 28, 2011 at 12:09 PM, meeech <
|
q: is your .shopify-tmbundle under source countrol? |
Hi, No... last time I tried to use git clone, it bombed out, so I just Not sure which version that was, fairly recent anyway... I could grab the Dave On Wed, Jul 6, 2011 at 12:16 AM, meeech <
|
sorry - i meant your work. the .shopify-tmbundle us the configuration file in your project dir Brief cuz sent from ipod On 2011-07-06, at 8:47 AM, resistorsoftwarereply@reply.github.com wrote:
|
Hi, Indeed, I list my files and see a .git file. Dave On Wed, Jul 6, 2011 at 8:56 AM, meeech <
|
hey dave, no i mean the actual .shopify-tmbundle file. that is the shop config. so i imagine a scenario where you have that checked into source control, switched shops, then git checkout new branch, which had old config setting. |
Hi, No... I do not do that. I was relying on one set of theme to rule them Silly me... On Wed, Jul 6, 2011 at 9:35 AM, meeech <
|
Thats ok. Just wanted to check. On Wed, Jul 6, 2011 at 9:53 AM, 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.
The text was updated successfully, but these errors were encountered: