File tree Expand file tree Collapse file tree 2 files changed +4
-16
lines changed Expand file tree Collapse file tree 2 files changed +4
-16
lines changed Original file line number Diff line number Diff line change @@ -57,16 +57,10 @@ dc exec -T php bash <<-'BASH'
57
57
./flow user:create --username=editor --password=editor --first-name=Editor --last-name=McEditworth --roles=Editor || true
58
58
59
59
./flow cr:setup --content-repository onedimension
60
- ./flow cr:import --content-repository onedimension --path ./DistributionPackages/Neos.Test.OneDimension/Resources/Private/Content
61
- # TODO: Fix when part of importer: Connect to a Neos site, todo the nodeTypeName parameter is obsolete but necessary
62
- ./flow site:create neos-test-onedimension Neos.Test.OneDimension Neos.TestNodeTypes:Document.HomePage
63
- ./flow domain:add neos-test-onedimension onedimension.localhost --port 8081
60
+ ./flow site:importall --content-repository onedimension --path ./DistributionPackages/Neos.Test.OneDimension/Resources/Private/Content
64
61
65
62
./flow cr:setup --content-repository twodimensions
66
- ./flow cr:import --content-repository twodimensions --path ./DistributionPackages/Neos.Test.TwoDimensions/Resources/Private/Content
67
- # TODO: Fix when part of importer: Connect to a Neos site, todo the nodeTypeName parameter is obsolete but necessary
68
- ./flow site:create neos-test-twodimensions Neos.Test.TwoDimensions Neos.TestNodeTypes:Document.HomePage
69
- ./flow domain:add neos-test-twodimensions twodimensions.localhost --port 8081
63
+ ./flow site:importall --content-repository twodimensions --path ./DistributionPackages/Neos.Test.TwoDimensions/Resources/Private/Content
70
64
71
65
./flow resource:publish
72
66
BASH
Original file line number Diff line number Diff line change @@ -59,21 +59,15 @@ dc exec -T php bash <<-BASH
59
59
rm -rf ./TestDistribution/DistributionPackages/Neos.TestSite
60
60
ln -s "../../Fixtures/1Dimension/SitePackage" ./TestDistribution/DistributionPackages/Neos.TestSite
61
61
62
- # TODO: optimize this
63
62
cd TestDistribution
64
63
composer reinstall neos/test-site
65
64
./flow flow:cache:flush --force
66
65
./flow flow:cache:warmup
67
66
./flow configuration:show --path Neos.ContentRepository.contentDimensions
68
67
69
- if ./flow site:list | grep -q 'Node name'; then
70
- ./flow site:prune '*'
71
- fi
72
- ./flow cr:setup
73
68
./flow cr:setup --content-repository onedimension
74
- ./flow cr:setup --content-repository twodimensions
75
- ./flow cr:import --content-repository onedimension Packages/Sites/Neos.Test.OneDimension/Resources/Private/Content
76
- ./flow site:create neos-test-onedimension Neos.Test.OneDimension Neos.TestNodeTypes:Document.HomePage
69
+ ./flow site:pruneAll --content-repository onedimension --force --verbose
70
+ ./flow site:importAll --content-repository onedimension --package-key Neos.Test.OneDimension --verbose
77
71
./flow resource:publish
78
72
BASH
79
73
You can’t perform that action at this time.
0 commit comments