1

I'm trying to setup a workflow that works for me. Developing wordpress sites

Basically I use dropbox to work on my local development...That way it's all backed up if computer crash or stolen. (So far working good)

I got Github account, created a Master REPO. And downloaded the GitBox software to push to this Master Repo (Worked Good so far)

Two questions I have:

  1. How do I set it up so my wordpress database on local can be send to github and then when I push it to live server, it only updates the changes in the database?

  2. How do I setup the ability to push my Github Master Repo to Live Server? I'm using AWS EC2 Instance.

So my work flow is

Local (development) > GitHub (Master Repo) GitHub (Master Repo) > Live Server Production

If there is a better flow, I'm open to implement it.

4

1 回答 1

0
  1. Git ( http://git-scm.com/ ) 仅用于数据。您不能提交数据库。但是你可以创建一个mysqldump吗?像这样:使用 Git 和 Git Hooks 同步 MySQL 数据库
于 2013-09-11T13:44:20.217 回答