General instructions on how to update Uber Publisher
For each stable release we will have some notes, and extra steps, developers need to do to update the last release to the new release.
- Backup your project database.
- Backup your project files.
- Test a restore for your backups, to make sure that your backups works.
- Using uber_publisher-project: https://packagist.org/packages/vardot/uber_publisher-project
Given that we do have a project at the /var/www/html/projects/example folder
And we do have our custom themes, features, custom modules in
/var/www/html/projects/example/themes/custom/
/var/www/html/projects/example/modules/custom/
/var/www/html/projects/example/sites/default
so on ...
like contributed modules which we had theme added
while working on the project.
And we opened a terminal console window
And we changed directory to our project folder
cd /var/www/html/projects/example in Linux
When we delete all files and folders, except our changes on Uber Publisher
and Varbase.
Then we will be left with only custom changes
When we copy all Varbase files
And we make sure that we do not have any overridden files or folders
only delete old ones and copy new folder of modules to the same place
Make sure that you do have modules in the right place.
Given that you are logged in with the "webmaster" user
And the "Features" module is enabled
And the "Features UI" module is enabled
When you go to "admin/config/development/features"
Then you should not see any changed features in the Varbase core bundle.
And you should not see any changed features in the Uber Publisher core bundle.
When you click on all "Changed"
Then you will be able to see all changes
And you will be able to import new changes if you need them
- By the terminal "drush updb".
- By the web browser by going to "yousite.domain/update.php"
- Done :)
You will need to manage a migration, or a hard update process.