Lightsail - development and production sites

0

I'd like a way of setting up a development and production copies of the same website.

At some point, the development copy would be migrated (copied) to the production site.
Bearing in mind that I'd want to keep a static address, SSL, path names, domain name etc for the production site.

This is in a way looking at an agile approach with regular updates.

Is this the right approach for best practices using Lightsail/Wordpress?

Alternatively, is it possible to use a snapshot to create a development Lightsail copy and then re-transfer back to production. In essence, the development site is only in use temporarily.

techone
已提問 5 年前檢視次數 468 次
1 個回答
0

This doesn't have anything do with Lightsail ... it's just general configuration management.

Take a look at git or subversion change control systems.

You can do your development in one area on your lightsail instance, commit the changes to the change control system, deploy the changes to a QA location, test the changes in a pseudo-live environment, once you're sure everything works correctly, deploy the changes in the production location.

david
(who works on enterprise level change control software during the day)

profile picture
David G
已回答 5 年前

您尚未登入。 登入 去張貼答案。

一個好的回答可以清楚地回答問題並提供建設性的意見回饋,同時有助於提問者的專業成長。

回答問題指南