... | @@ -17,6 +17,19 @@ At developers wish... |
... | @@ -17,6 +17,19 @@ At developers wish... |
|
## Process for promoting to PROD
|
|
## Process for promoting to PROD
|
|
|
|
|
|
### Synching TEST/PRE to PROD
|
|
### Synching TEST/PRE to PROD
|
|
Drupal official docs on configuration synchronization between sites:
|
|
Drupal official docs on configuration synchronization between sites using drush:
|
|
[https://www.drupal.org/docs/configuration-management/managing-your-sites-configuration](https://www.drupal.org/docs/configuration-management/managing-your-sites-configuration)
|
|
[https://www.drupal.org/docs/configuration-management/workflow-using-drush](https://www.drupal.org/docs/configuration-management/workflow-using-drush)
|
|
|
|
|
|
|
|
So, in the case of promoting from our test.network.guifi.net (TEST/PRE) to network.guifi.net (PROD)
|
|
|
|
|
|
|
|
#### 1.- Preliminar:
|
|
|
|
After a clean snapshot at test from prod, apply the changes you want to test, and if everything looks ok, then apply to prod by completing the next steps.
|
|
|
|
|
|
|
|
#### 2.- Export current configuration at PRE/TEST site as user "fundacio" using drush:
|
|
|
|
|
|
|
|
```
|
|
|
|
cd /var/www/html/net9/web
|
|
|
|
drush config:export
|
|
|
|
```
|
|
|
|
|
|
|
|
|