TYPO3Flow Usergroup Rhein-Main - Package Structure and Composer

548 views
490 views

Published on

Ein paar Folien von der letzten TYPO3Flow Usergroup Rhein-Main.

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

  • Be the first to like this

No Downloads
Views
Total views
548
On SlideShare
0
From Embeds
0
Number of Embeds
1
Actions
Shares
0
Downloads
6
Comments
0
Likes
0
Embeds 0
No embeds

No notes for slide

TYPO3Flow Usergroup Rhein-Main - Package Structure and Composer

  1. 1. TYPO3Flow Usergroup Rhein-Main @ fugrm http://fugrm.de https://www.xing.com/net/pri5007f4x/fugrm/ Donnerstag, 11. Juli 13
  2. 2. TYPO3Flow Deployment Using Composer (and Jenkins) Donnerstag, 11. Juli 13
  3. 3. Package Structure Donnerstag, 11. Juli 13
  4. 4. Package Structure Your package Donnerstag, 11. Juli 13
  5. 5. Package Structure Some configuration Donnerstag, 11. Juli 13
  6. 6. Package Structure Scripts Donnerstag, 11. Juli 13
  7. 7. Package Structure How everything belongs together Donnerstag, 11. Juli 13
  8. 8. composer.json Donnerstag, 11. Juli 13
  9. 9. composer.json Donnerstag, 11. Juli 13
  10. 10. composer.json Donnerstag, 11. Juli 13
  11. 11. composer.json Donnerstag, 11. Juli 13
  12. 12. composer.json Donnerstag, 11. Juli 13
  13. 13. Building the package git clone git@git.domain.com/ repository.git cd repository composer update --no-dev fugrm/my- other-package Donnerstag, 11. Juli 13
  14. 14. Running some scripts cd Build/Packaging ant -f compressJS.xml ./compile-stylesheets.sh Donnerstag, 11. Juli 13
  15. 15. Second package Donnerstag, 11. Juli 13
  16. 16. Second package W HY ?? Donnerstag, 11. Juli 13
  17. 17. Second package missing dev dependencies Donnerstag, 11. Juli 13
  18. 18. Second package composer update --dev Donnerstag, 11. Juli 13
  19. 19. Running some tests Donnerstag, 11. Juli 13
  20. 20. Remove unused stuff rm -rf Configuration/*.example rm -rf Configuration/*/*.example rm -rf Configuration/README rm -rf *.txt Donnerstag, 11. Juli 13
  21. 21. zip the Package tar -czf ${ARCHIVE}-release.tar.gz --exclude={.git,.gitignore,.gitmodules, ${ARCHIVE}/Build/Packaging,${ARCHIVE}/ bin,${ARCHIVE}/Build/Tests, ${ARCHIVE}/Build/ BuildEssentials,composer.lock} ${ARCHIVE} Donnerstag, 11. Juli 13
  22. 22. Put it somewhere • Copy it to another place • Download the package to your production server • Send the package somewhere else Donnerstag, 11. Juli 13
  23. 23. Extract and install Donnerstag, 11. Juli 13
  24. 24. Extract and install tar -xzf MyPackage.tar.gz FLOW_CONTEXT=“Production„ Install_MyPackage {arguments} Donnerstag, 11. Juli 13
  25. 25. Extract and install tar -xzf MyPackage.tar.gz FLOW_CONTEXT=“Production„ Install_MyPackage {arguments} arguments = commandlineuser, webuser, webgroup, database data, etc. Donnerstag, 11. Juli 13
  26. 26. Installation • Set file permission • Run doctrine commands (migration) • Create/update symlink to your web root Donnerstag, 11. Juli 13
  27. 27. Questions? Donnerstag, 11. Juli 13
  28. 28. Topics for upcoming • a FUGRM Project ? • taking a look at Neos ? Donnerstag, 11. Juli 13

×