Skip to content

Commit 3067c53

Browse files
committed
Added log commands for README
1 parent 22c5067 commit 3067c53

File tree

1 file changed

+14
-3
lines changed

1 file changed

+14
-3
lines changed

README.md

Lines changed: 14 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -63,6 +63,17 @@ Recreate containers (if there is any issue or just to start from a clean build)
6363
$ docker-compose build --no-cache
6464
$ docker-compose up -d
6565

66+
Logs (eg. for debugging)
67+
68+
$ docker-compose logs
69+
70+
# or only php
71+
$ docker-compose logs main
72+
73+
# or only php and nginx
74+
$ docker-compose logs main
75+
76+
6677
## Create new project
6778

6879
First create and run the Docker containers using [docker-compose](https://github.com/docker/compose):
@@ -74,7 +85,7 @@ Now create the project:
7485
- [Create new TYPO3](README-TYPO3.md)
7586
- [Create new NEOS](README-NEOS.md)
7687

77-
For an existing project just put your files into htdocs/ folder or use git to clone your project into htdocs.
88+
For an existing project just put your files into code/ folder or use git to clone your project into code/.
7889

7990

8091
## Informations
@@ -188,7 +199,7 @@ Setting | Value
188199
Hostname | IP or Hostname of VM
189200
Port | 8000
190201
Use path mappings | Check
191-
Path mapping of htdocs | /docker/htdocs/
202+
Path mapping of code | /docker/code/
192203

193204
Add a debug connection (Run -> Edit -> Connections) and create a new connection.
194205

@@ -205,7 +216,7 @@ Save, set a break point and test the debugger.
205216
Use this boilerplate as template and customize it for each project. Put this Docker
206217
configuration for each project into seperate git repositories.
207218

208-
Now set your existing project repository to be a git submodule in htdocs/.
219+
Now set your existing project repository to be a git submodule in code/.
209220
Every developer now needs only to clone the Docker repository with **--recursive**
210221
to get both, the Docker configuration and the TYPO3 installation.
211222

0 commit comments

Comments
 (0)