0
Automatic Deployment with TYPO3v4            Automatic Deployment with TYPO3v4                             Presentation 1 ...
About usStuart McFarlaneSebastiaan van Parij                   sMarieke Heij           manLoek HilgersomBkwi, governmental...
WorkshopParticipants               Automatic Deployment with TYPO3v4                                Presentation 1 4-4-201...
WorkshopGoals:Explain the why & howDemonstrate our setupHear your experiences & ideasFinal aim: Kickstart a TYPO3-deployme...
Why?Professional way of workingHow we worked before:   Fixing issues directly on production systems   Sometimes even devel...
Preferred situationEverything in version controlAutomatic deployment to test, acceptance and productionProper testing on t...
So again, why?   Automatic Deployment with TYPO3v4                    Presentation 1 4-4-201 2 at T3DD1 2 Munich
So again, why?Cant live without it!        Automatic Deployment with TYPO3v4                         Presentation 1 4-4-20...
Techniques usedGitBash scriptsAntJenkinsEXT: t3deploy+ additional code for clearing caches from command line              ...
How does it work?Main principlesSeparate environment-specific from proj                                      ect-specificD...
Environment- vs. Proj                               ect-specificlocalconf.phpTypoScript constantsDomain recordsServer acce...
Deltas / update scriptsA new version usually includes more than only new code:Database changes (deltas)Files in non-versio...
DatasetsClean, base installTestdataAcceptance deployment... for performance tests==> versioned and local datasets (for spe...
Scripting tasksTasks:- set-up new installation   - clean-up development environment   - apply updates/ deltas   - select c...
Trigger and reportAutomatic daily builds, or start test-deployment after each code commitReport about build (success or fa...
Work procedureCodeCommitDev-buildTest --->    back to coding (beware of endless loops) :-)PushDaily build to test machineT...
Work procedure (continued)merge to acceptation branchacceptation buildacceptation tests --->   and back to coding again......
Work procedure (continued)merge to acceptation branchacceptation buildacceptation tests --->   and back to coding again......
What does it look like?       Automatic Deployment with TYPO3v4                        Presentation 1 4-4-201 2 at T3DD1 2...
What does it look like?(Note to self: show directory tree)                              Automatic Deployment with TYPO3v4 ...
A does it work? nd .... Demo!    Automatic Deployment with TYPO3v4                     Presentation 1 4-4-201 2 at T3DD1 2...
DemoClean-up development environmentRemote deployment (clean install or live update)Apply configuration (e.g. when develop...
WishlistUse rsync for speeding up deployment process.....                            Automatic Deployment with TYPO3v4    ...
Next stepsShare experiencesJ forces: start a TY deployment projoin                 PO3            ect!                    ...
Automatic Deployment with TYPO3v4          (For a smooth sailing)      https:/notes.typo3.org/ deployment             /   ...
Upcoming SlideShare
Loading in...5
×

Presentation automatic deployment with TYPO3v4

1,559

Published on

Demostrating a setup for automatic deployment of TYPO3 projects from development to test, acceptation and production servers. Uses git, ant, bash scripts and EXT:t3deploy.

Published in: Technology, Travel
0 Comments
0 Likes
Statistics
Notes
  • Be the first to comment

  • Be the first to like this

No Downloads
Views
Total Views
1,559
On Slideshare
0
From Embeds
0
Number of Embeds
0
Actions
Shares
0
Downloads
10
Comments
0
Likes
0
Embeds 0
No embeds

No notes for slide

Transcript of "Presentation automatic deployment with TYPO3v4"

  1. 1. Automatic Deployment with TYPO3v4 Automatic Deployment with TYPO3v4 Presentation 1 4-4-201 2 at T3DD1 2 Munich
  2. 2. About usStuart McFarlaneSebastiaan van Parij sMarieke Heij manLoek HilgersomBkwi, governmental organisation, The Netherlands Automatic Deployment with TYPO3v4 Presentation 1 4-4-201 2 at T3DD1 2 Munich
  3. 3. WorkshopParticipants Automatic Deployment with TYPO3v4 Presentation 1 4-4-201 2 at T3DD1 2 Munich
  4. 4. WorkshopGoals:Explain the why & howDemonstrate our setupHear your experiences & ideasFinal aim: Kickstart a TYPO3-deployment proj ect! Automatic Deployment with TYPO3v4 Presentation 1 4-4-201 2 at T3DD1 2 Munich
  5. 5. Why?Professional way of workingHow we worked before: Fixing issues directly on production systems Sometimes even development Tedious work deploying new work to a live site No systematic testing, no proper roll-back, etc. Automatic Deployment with TYPO3v4 Presentation 1 4-4-201 2 at T3DD1 2 Munich
  6. 6. Preferred situationEverything in version controlAutomatic deployment to test, acceptance and productionProper testing on test and acceptance environments ==> Hardly ever surprises when going liveGoing live is almost a press of a buttonMoving towards complete Continuous Integration setup Automatic Deployment with TYPO3v4 Presentation 1 4-4-201 2 at T3DD1 2 Munich
  7. 7. So again, why? Automatic Deployment with TYPO3v4 Presentation 1 4-4-201 2 at T3DD1 2 Munich
  8. 8. So again, why?Cant live without it! Automatic Deployment with TYPO3v4 Presentation 1 4-4-201 2 at T3DD1 2 Munich
  9. 9. Techniques usedGitBash scriptsAntJenkinsEXT: t3deploy+ additional code for clearing caches from command line Automatic Deployment with TYPO3v4 Presentation 1 4-4-201 2 at T3DD1 2 Munich
  10. 10. How does it work?Main principlesSeparate environment-specific from proj ect-specificDeltas / update scriptsDatasetsScripting tasksTrigger & report (J enkins) Automatic Deployment with TYPO3v4 Presentation 1 4-4-201 2 at T3DD1 2 Munich
  11. 11. Environment- vs. Proj ect-specificlocalconf.phpTypoScript constantsDomain recordsServer access==> symlink to local/ config dir Automatic Deployment with TYPO3v4 Presentation 1 4-4-201 2 at T3DD1 2 Munich
  12. 12. Deltas / update scriptsA new version usually includes more than only new code:Database changes (deltas)Files in non-versioned directories like fileadmin or uploadsOccasionally other things like changing file permissions or running a script==> for each version: updates.sql, updates.sh & a file set Automatic Deployment with TYPO3v4 Presentation 1 4-4-201 2 at T3DD1 2 Munich
  13. 13. DatasetsClean, base installTestdataAcceptance deployment... for performance tests==> versioned and local datasets (for specific environment) Automatic Deployment with TYPO3v4 Presentation 1 4-4-201 2 at T3DD1 2 Munich
  14. 14. Scripting tasksTasks:- set-up new installation - clean-up development environment - apply updates/ deltas - select configuration for specific environment - create and restore backups - create and apply datasets - various practicallities like: setting symlinks, file permissions==> Bash scripts for tasks on local environments Automatic Deployment with TYPO3v4 Presentation 1 4-4-201 2 at T3DD1 2 Munich
  15. 15. Trigger and reportAutomatic daily builds, or start test-deployment after each code commitReport about build (success or fail)Run automatic tests, code documenter or code quality tools==> J enkins Automatic Deployment with TYPO3v4 Presentation 1 4-4-201 2 at T3DD1 2 Munich
  16. 16. Work procedureCodeCommitDev-buildTest ---> back to coding (beware of endless loops) :-)PushDaily build to test machineTest by testers ---> back to coding Automatic Deployment with TYPO3v4 Presentation 1 4-4-201 2 at T3DD1 2 Munich
  17. 17. Work procedure (continued)merge to acceptation branchacceptation buildacceptation tests ---> and back to coding again....merge to production branchproduction buildDeployment on production Automatic Deployment with TYPO3v4 Presentation 1 4-4-201 2 at T3DD1 2 Munich
  18. 18. Work procedure (continued)merge to acceptation branchacceptation buildacceptation tests ---> and back to coding again....merge to production branchproduction buildDeployment on production.... and its time to open the champaign (were live!) Automatic Deployment with TYPO3v4 Presentation 1 4-4-201 2 at T3DD1 2 Munich
  19. 19. What does it look like? Automatic Deployment with TYPO3v4 Presentation 1 4-4-201 2 at T3DD1 2 Munich
  20. 20. What does it look like?(Note to self: show directory tree) Automatic Deployment with TYPO3v4 Presentation 1 4-4-201 2 at T3DD1 2 Munich
  21. 21. A does it work? nd .... Demo! Automatic Deployment with TYPO3v4 Presentation 1 4-4-201 2 at T3DD1 2 Munich
  22. 22. DemoClean-up development environmentRemote deployment (clean install or live update)Apply configuration (e.g. when developing on a different machine)Create backupCreate dataset Automatic Deployment with TYPO3v4 Presentation 1 4-4-201 2 at T3DD1 2 Munich
  23. 23. WishlistUse rsync for speeding up deployment process..... Automatic Deployment with TYPO3v4 Presentation 1 4-4-201 2 at T3DD1 2 Munich
  24. 24. Next stepsShare experiencesJ forces: start a TY deployment projoin PO3 ect! Automatic Deployment with TYPO3v4 Presentation 1 4-4-201 2 at T3DD1 2 Munich
  25. 25. Automatic Deployment with TYPO3v4 (For a smooth sailing) https:/notes.typo3.org/ deployment / p/ Thank you for attending! Contact: loek@ netcoop.nl Twitter: @ netcoop Automatic Deployment with TYPO3v4 Presentation 1 4-4-201 2 at T3DD1 2 Munich
  1. A particular slide catching your eye?

    Clipping is a handy way to collect important slides you want to go back to later.

×