phifa / typo3stack
There is no license information available for the latest version (v0.2.1) of this package.
TYPO3 CMS Base Distribution and Site Skeleton
v0.2.1
2019-01-24 14:18 UTC
Requires
- helhum/dotenv-connector: ^1.0.0
- helhum/typo3-console: ^5.6
- phifa/template: dev-master
- phifa/template_site1: dev-master
- typo3/cms-belog: ^9.5
- typo3/cms-beuser: ^9.5
- typo3/cms-fluid-styled-content: ^9.5
- typo3/cms-form: ^9.5
- typo3/cms-impexp: ^9.5
- typo3/cms-info: ^9.5
- typo3/cms-lowlevel: ^9.5
- typo3/cms-opendocs: ^9.5
- typo3/cms-recycler: ^9.5
- typo3/cms-reports: ^9.5
- typo3/cms-rte-ckeditor: ^9.5
- typo3/cms-scheduler: ^9.5
- typo3/cms-seo: ^9.5
- typo3/cms-setup: ^9.5
- typo3/cms-sys-note: ^9.5
- typo3/cms-tstemplate: ^9.5
- typo3/minimal: ^9.5
This package is auto-updated.
Last update: 2024-11-29 02:34:10 UTC
README
by phifa
TLDR:
composer create-project phifa/typo3stack=dev-master --prefer-dist .
Notes
- During the installation several external extensions are installed. Additionally two local extensions are installed
template
andtemplate_site1
. - The
template
extension is the Base and should not be changed at all. - Every root site in the pagetree can get its own child template
template_site1
,template_site2
, ... - First perform installation below. Customization will be done afterwards during integration below.
- For multi-domain setup, copy the child extension and repeat integration for each domain.
- Overwriting: All overwriting is done in the child extension: You can hide the standard Backend Layouts, add your own or overwrite them, same is true for FLUID files, etc. In
page.typoscript
you can overwrite thecss
and thejs
files with your own files, etc. When overwriting, make sure to stick to naming conventions, as only the same name will overwrite.
1. Installation
- Create your project folder and cd into it. Then:
composer create-project phifa/typo3stack=dev-master --prefer-dist .
- Copy configuration templates from
/presets/
to their place, customize and rename if neccessary. - Run
ddev start
or modify the ddev configuration first (e.g. change the name) - Modify
.env-example
in project root accordingly and rename to.env
. File is in shipped.gitignore
and should be created for each context. - Run
ddev ssh
, then./post-create-project-cmd.sh
. exit
ssh session.- Log in to the Backend and add the admin user to the Admin Group (Page UIDs should become visible in the pagetree after page refresh).
- Also double check under the module
Access
, that all pages point to the group:[ACCESS] Default
, if not already the case. - Now template_site1 template is up and running. For customization see below Integration
If the the name of the DDEV container was not changed, these are the urls:
Frontend:
http://template.ddev.local
https://template.ddev.local
http://127.0.0.1:32775
MailHog:
http://template.ddev.local:8025
phpMyAdmin:
http://template.ddev.local:8036
2. Integration
- Run
./renameextension.sh
and double check in changelog which files got changed. - Now the child template needs to be added again in two places in the backend: Add the TypoScript Template and the TSconfig to the Root Page. You might have to set the Backend Layout (and Sublevels) to
Test
again on the Root Page. - Modify constants of the child template accordingly.
config.name
, etc. - Clear System Caches and open your dev site, e.g.
http://mydomain.localhost
. Voila! - Configure sites first, with sites module.
3. Deployment via Bitbucket Pipeline and Surf
- Make sure Git is set up correctly for your project and origin is set to the Bitbucket Repository.
- There should be a Master Branch that will deploy to the client's live site and a Staging Branch that will deploy to the client's stage subdomain
- You only need to customize the configuration in
.surf/
. The files are called inbitbucket-pipelines.yml