cedricziel / typo3-heroku-distribution
Fund package maintenance!
cedricziel
Requires
- ext-gd: *
- ext-mysqli: *
- ext-openssl: *
- ext-soap: *
- ext-zip: *
- ext-zlib: *
- cedricziel/typo3-cloudoconfiguration: dev-master
- typo3/cms: 7.5.0
- vlucas/phpdotenv: ^2.0
Requires (Dev)
- heroku/heroku-buildpack-php: ^76.0
This package is auto-updated.
Last update: 2024-10-28 12:01:32 UTC
README
This is a work-in-progress to research how TYPO3 CMS can be run on Heroku using the current cedar stack.
Initialization
- install heroku cli
- login through
heroku login
- create heroku app with
heroku create
. This registers git remoteheroku
- push to heroku
git push heroku master
- open in browser and complete setup with
heroku open
make sure to deleteweb/FIRST_INSTALL
afterwards
Customization
php.ini values will be picked up from a .user.ini
file in web
. Go there if
you need to adjust values. Placing it there has no performance penalty.
Installing extensions
Due to the immutable file system (it gets resetted on every push) and the way TYPO3 determines the extensions it should load, a special "flow" for enabling an extension is needed.
- require the extension with composer
- push the app, install it via the extension manager
- manually activate the package in
typo3conf/PackageStates.php
This flow is needed to keep the various mechanisms in sync after push.
Tips
- run
composer update
only with the--prefer-dist
flag as currently it would download the whole TYPO3 repository - accessing the install tool is only possible when the ENABLE_INSTALL_TOOL marker file is present