Hey I'm probably doing this wrong / inefficiently. (I'm a UX designer but have been taking on development roles at this startup).
Currently, we have 3 stores setup that have minor differences (they're for different areas of the world). I've set it up so we duplicate and update the theme every 2 weeks. So most of the time I only have to copy changes to 3 places.
However, if I rapid release anything it has to be changed in 6 places (3 stores x 2 themes (1 active 1 upcoming)).
My question is how do I upload all of these changes quicker. Right now I'm adding a file and my process is.
1. Navigate to the folder in the terminal
2. theme get (enter in password, store, and theme)
3. theme watch
4. copy file over
5. cancel theme watch
6. repeat for other theme in store
7. navigate to new folder (aka. new store) through terminal. Repeat
Is there a way I can publish changes to multiple themes at a time? Can I 'theme watch' all of my folders instead of just 1 at a time?
https://shopify.github.io/themekit/ for editing theme(s) for store(s) with local desktop tools
themekit watch -e=production1 -e=production2 -e=production 3
Same for other commands like deploy
Also do you recommend having 3 folders for 3 different stores or just 1?
I guess my questions is about the possibilities and shortcuts within themekit. Swapping themes, deploying to multiple themes on multiple stores, do I have to do theme get 'password, store, themeid' each time I want to switch anything.
Stuff like that
If you have a single code base, VCS,etc that goes to all stores then you only need 1 folder.
You still need different environments as no matter what each store is a different store.
@Arvanitas wrote:, do I have to do theme get 'password, store, themeid' each time I want to switch anything.
No you set up your config.yml to have that info in the different environments.
User | Count |
---|---|
27 | |
19 | |
14 | |
12 | |
10 |