Skip to content
This repository has been archived by the owner on Nov 9, 2017. It is now read-only.

LemonSync new features #13

Open
2 of 6 tasks
robotpony opened this issue May 14, 2015 · 3 comments
Open
2 of 6 tasks

LemonSync new features #13

robotpony opened this issue May 14, 2015 · 3 comments
Assignees

Comments

@robotpony
Copy link
Member

@robotpony
Copy link
Member Author

Phase 2:

  • GUI (that runs the CLI script, saves project roots, uses project config)

@bennick
Copy link

bennick commented May 15, 2015

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:

  1. I have a git repo that contains my theme and I switch my branch to staging.
  2. 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.
  3. As I make changes lemonsync updates a theme that is served by a "staging site". Ex. staging-mycoolsite.lemonstand.com
  4. I finish working, the client reviews and approves
  5. I stop lemonsync
  6. Merge staging branch into master
  7. 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.

@robotpony
Copy link
Member Author

@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 free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants