Skip to content

Commit 4fabbc7

Browse files
committed
[TASK] Update README install instructions
Avoid suggesting any security relevant credentials like database configuration or admin accounts, instead passwords should be generated and not be passed as command line arguments. Also match example site with the development server example and fix `create-project` command line for v13.
1 parent 5af40f1 commit 4fabbc7

File tree

1 file changed

+7
-10
lines changed

1 file changed

+7
-10
lines changed

README.md

Lines changed: 7 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ Get going quickly with TYPO3 CMS.
99

1010
## Quickstart
1111

12-
* `composer create-project typo3/cms-base-distribution project-name ^12`
12+
* `composer create-project typo3/cms-base-distribution project-name ^13`
1313
* `cd project-name`
1414

1515
### Setup
@@ -28,19 +28,16 @@ To do this, you need to execute the following command and substitute the argumen
2828
with your own environment configuration.
2929

3030
```bash
31+
export TYPO3_SETUP_ADMIN_PASSWORD=$(tr -dc "_A-Za-z0-9#=$()/" < /dev/urandom | head -c24)
3132
composer exec -- typo3 setup \
3233
--no-interaction \
33-
--driver=mysqli \
34-
--username=typo3 \
35-
--password=typo3 \
36-
--host=127.0.0.1 \
37-
--port=3306 \
38-
--dbname=typo3 \
34+
--server-type=other \
35+
--driver=sqlite \
3936
--admin-username=admin \
40-
--admin-email="[email protected]" \
41-
--admin-user-password=password \
37+
--admin-email="[email protected]" \
4238
--project-name="My TYPO3 Project" \
43-
--create-site="https://localhost/"
39+
--create-site="http://localhost:8000/"
40+
echo "Admin password: ${TYPO3_SETUP_ADMIN_PASSWORD}"
4441
```
4542

4643
### Development server

0 commit comments

Comments
 (0)