https://github.com/sourcebroker/upgrade-typo3
A helper to make TYPO3 upgrade repeatable
https://github.com/sourcebroker/upgrade-typo3
sb-upgt3
Last synced: about 1 year ago
JSON representation
A helper to make TYPO3 upgrade repeatable
- Host: GitHub
- URL: https://github.com/sourcebroker/upgrade-typo3
- Owner: sourcebroker
- Created: 2019-08-26T12:28:43.000Z (almost 7 years ago)
- Default Branch: master
- Last Pushed: 2021-06-02T08:08:06.000Z (almost 5 years ago)
- Last Synced: 2024-10-24T18:08:28.688Z (over 1 year ago)
- Topics: sb-upgt3
- Language: PHP
- Homepage:
- Size: 21.5 KB
- Stars: 1
- Watchers: 5
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.rst
- Changelog: CHANGELOG.rst
Awesome Lists containing this project
README
Repeatable TYPO3 upgrade
########################
.. image:: https://poser.pugx.org/sourcebroker/typo3-upgrade/v/unstable
:target: https://packagist.org/packages/sourcebroker/typo3-upgrade
.. image:: https://poser.pugx.org/sourcebroker/typo3-upgrade/license
:target: https://packagist.org/packages/sourcebroker/typo3-upgrade
.. contents:: :local:
What does it do?
****************
The aim of this script is to make process of upgrade repeatable so you can easily repeat it on you local instance and
run it also on staging and finally on production instance.
**Its tested and written to work only with composer based TYPO3.**
Install
*******
Create subdirectory in your TYPO3 root (for example ``.upgrade``) and inside this folder run:
``composer require sourcebroker/typo3-upgrade``
Configuration
*************
Basically the script search for branches with name "upgrade_*" switch to them and run commands (look for typo3-upgrade.php
for more insights).
If you have some project specific SQL then put it in ``.upgrade/config/project/[branch part].sql`` (for example ``.upgrade/config/project/76.sql``)
If you have some instance specific SQL then put it in ``.upgrade/config/instances/[instance name]/[branch part].sql``
The ``[branch part]`` is taken from branch name. If branch name is "upgrade_76" then ``[branch part]`` is equal to ``76``.
The ``[instance name]`` is taken from INSTANCE env var. Make sure its set in .env file of your project.
Run upgrade in your TYPO3 root directory
``./.upgrade/vendor/bin/typo3-upgrade.php``
Changelog
*********
See https://github.com/sourcebroker/typo3-upgrade/blob/master/CHANGELOG.rst