migration - Making a development site live, on Amazon EC2

I currently have a live site hosted as an Amazon EC2 instance and have been working on a new site (in a development envi

I currently have a live site hosted as an Amazon EC2 instance and have been working on a new site (in a development environment) also on an EC2 instance.

The new site is ready to be pushed live but I am unsure how I would approach this.

I am not overly familiar with Amazon as I am picking up from a previous developer who set all the hosting and instances up.

The live and dev sites are running on the following:

Live - www.mydomain
Dev - dev-www.mydomain

I currently have a live site hosted as an Amazon EC2 instance and have been working on a new site (in a development environment) also on an EC2 instance.

The new site is ready to be pushed live but I am unsure how I would approach this.

I am not overly familiar with Amazon as I am picking up from a previous developer who set all the hosting and instances up.

The live and dev sites are running on the following:

Live - www.mydomain
Dev - dev-www.mydomain

Share Improve this question asked Oct 21, 2019 at 8:54 Peter RowlandsPeter Rowlands 1
Add a comment  | 

1 Answer 1

Reset to default 0

Well, let's drill down on this situation a little bit:

  1. Do you have git enabled on both environments?
  2. Do you need to migrate the database as well?

Most of the situation depends on how the previous developer has set it up.

Ideally you have different branches in git and you're merging the develop with the master and then pull the master branch on the live site. Migrating the database is more complicated (I would recommend the WP DB migrate plugin (free from deliciousbrains)

If there isn't git then you'll either be forced to manually upload the new files with SFTP you'll need to your use your ssh key.

Or a little more convenient you can use the migration plugin from before but then it's premium version. There are other migration plugins too, but they involve more manual configuration.

If you have any more info regarding the setup let me know!

发布者:admin,转转请注明出处:http://www.yc00.com/questions/1745065113a4609207.html

相关推荐

  • migration - Making a development site live, on Amazon EC2

    I currently have a live site hosted as an Amazon EC2 instance and have been working on a new site (in a development envi

    4小时前
    20

发表回复

评论列表(0条)

  • 暂无评论

联系我们

400-800-8888

在线咨询: QQ交谈

邮件:admin@example.com

工作时间:周一至周五,9:30-18:30,节假日休息

关注微信