Advertisement
Guest User

Untitled

a guest
May 9th, 2016
64
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.78 KB | None | 0 0
  1.  
  2. #
  3. #
  4. # The build, release and restart targets are defined in the app, and are run at different stages of the build.
  5. # The build and release are done on the build-server (pubhub), whereas the restart are run on each webnode
  6. #
  7. # Notice that the pco.json conf file is not present during the build phase, but it present during release
  8. #
  9.  
  10. build: composer rmResourcesDir
  11.  
  12. release: createSettings migrate publishResources
  13.  
  14. restart: flushCache warmupCache
  15.  
  16. #
  17. # These are the general targets used for most Neos/Flow deployments
  18. #
  19.  
  20. #
  21. # Since the Resource dir is a shared folder, we need to remove it before the ng-deployment can make a shared folder. If
  22. # the folder already exists, the folder wil not be shared.
  23. #
  24. rmResourcesDir:
  25. rm -rf Web/_Resources
  26.  
  27. #
  28. # The settings and Cache files are based on the existence of the pco.json file
  29. #
  30. createSettings:
  31. php Build/WriteSettingsFromEnvironment.php > Configuration/Settings.yaml
  32. php Build/WriteCacheSettingsFromEnvironment.php > Configuration/Caches.yaml
  33.  
  34.  
  35. composer:
  36. composer install --no-dev
  37.  
  38. flushCache:
  39. php flow flow:cache:flush
  40.  
  41. warmupCache:
  42. php flow flow:cache:warmup
  43.  
  44. nodeRepair:
  45. php flow node:repair
  46.  
  47. clearResources:
  48. php flow ng:cleanresources
  49.  
  50. publishResources:
  51. php flow resource:publish
  52.  
  53. migrate: createSettings
  54. php flow doctrine:migrate
  55.  
  56. showSetupPassword:
  57. cat Data/SetupPassword.txt
  58.  
  59. pruneSite:
  60. php flow site:prune
  61.  
  62. importSite:
  63. php flow site:import --package-key TYPO3.NeosDemoTypo3Org
  64.  
  65. listSites:
  66. php flow site:list
  67.  
  68. listUsers:
  69. php flow user:list
  70.  
  71. showSettingsConfiguration:
  72. ./flow configuration:show --type Settings
  73.  
  74. showCacheConfiguration:
  75. ./flow configuration:show --type Caches
  76.  
  77. #
  78. # Various helper targets for debugging
  79. #
  80. listStorageFiles:
  81. ls -alph files/Resources/
  82.  
  83. listFiles:
  84. ls -alph
  85.  
  86. listSharedFiles:
  87. ls -alph files
  88.  
  89. listWebFiles:
  90. ls -alph Web
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement