You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Nov 9, 2017. It is now read-only.
I talked with Chris about this a little but it would be awesome to have some sort of staging to production workflow. A possible workflow would be as follows:
I have a git repo that contains my theme and I switch my branch to staging.
I start up lemonsync and it know to sync changes with the "staging site" via a CLI option or reading that I am currently on a branch called staging.
As I make changes lemonsync updates a theme that is served by a "staging site". Ex. staging-mycoolsite.lemonstand.com
I finish working, the client reviews and approves
I stop lemonsync
Merge staging branch into master
I turn on lemonsync again and it updates a "production site" (again via a CLI command or knowing that I am on a master branch) This site could be mycoolsite.lemonstand.com
Basically It would be great to have two separate branches of code that are connected to two separate domains but the underlying database data is the same.
I'm sure this is outside the scope of just lemonsync and perhaps utilizing git post commit hooks might make this easier. Just some thoughts.
@bennick Thanks for the suggestions! We're hoping to allow pushing theme updates to both the active and the developing theme (concepts we have in the store backend now). Exposing the development theme as well with a URL is something we've talked about too (though not as part of this work).
Allowing sync to hook into githooks is also somewhere I would like to get to this year. I'd also like to be able to add the sync/serve to tools like grunt and gulp, as many of our devs use those tools too.
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
The text was updated successfully, but these errors were encountered: