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.

demandé il y a 5 ans569 vues
1 réponse
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
répondu il y a 5 ans

Vous n'êtes pas connecté. Se connecter pour publier une réponse.

Une bonne réponse répond clairement à la question, contient des commentaires constructifs et encourage le développement professionnel de la personne qui pose la question.

Instructions pour répondre aux questions