Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Two Home pages during setup #668

Closed
t3easy opened this issue Jan 27, 2018 · 0 comments
Closed

Two Home pages during setup #668

t3easy opened this issue Jan 27, 2018 · 0 comments

Comments

@t3easy
Copy link
Contributor

t3easy commented Jan 27, 2018

Q A
Bug report? yes
Feature request? no
TYPO3 version 9.0.0
TYPO3 Console version 5.0.3
TYPO3 Composer mode? yes

TYPO3-Console generates 2 "Home" pages with install:setup ... --site-setup-type="site"

I use TYPO3 in composer mode and this is my root composer.json:

{
	"repositories": [
		{ "type": "path", "url": "packages/*" },
		{ "type": "composer", "url": "https://composer.typo3.org/" }
	],
	"name": "t3easy/typo3-example-distribution",
	"description" : "TYPO3 CMS Example Distribution",
	"license": "GPL-2.0-or-later",
	"require": {
		"typo3/minimal": "^9.0",

		"typo3/cms-belog": "^9.0",
		"typo3/cms-beuser": "^9.0",
		"typo3/cms-fluid-styled-content": "^9.0",
		"typo3/cms-felogin": "^9.0",
		"typo3/cms-impexp": "^9.0",
		"typo3/cms-info": "^9.0",
		"typo3/cms-lowlevel": "^9.0",
		"typo3/cms-reports": "^9.0",
		"typo3/cms-rsaauth": "^9.0",
		"typo3/cms-rte-ckeditor": "^9.0",
		"typo3/cms-setup": "^9.0",
		"typo3/cms-tstemplate": "^9.0",
		"typo3/cms-viewpage": "^9.0",
		"helhum/typo3-console": "^5.0"
	},
	"scripts":{
		"typo3-cms-scripts": [
			"typo3cms install:fixfolderstructure"
		],
		"post-install-cmd": [
			"# composer install composer.lock file present",
			"@typo3-cms-scripts"
		],
		"post-update-cmd": [
			"# composer update or composer install composer.lock NOT file present",
			"@typo3-cms-scripts"
		]
	},
	"extra": {
		"helhum/typo3-console": {
			"install-extension-dummy": false
		},
		"typo3/cms": {
			"cms-package-dir": "{$vendor-dir}/typo3/cms",
			"web-dir": "web"
		}
	}
}

When I run this command:

./vendor/bin/typo3cms install:setup --non-interactive \
                --database-name="typo3" --database-user-name="typo3" --database-user-password="typo3" --database-host-name="db" --database-port="3306" --use-existing-database \
                --admin-user-name="admin" --admin-password="password" --site-setup-type="site" --site-name="TYPO3 Demo"

I get the following output:

Successfully installed TYPO3 CMS!

And I expected this to happen:
One "Home" page ;)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant