@@ -21,7 +23,7 @@ The subdir ```./public_html/``` will be mounted as webroot that you can edit fil
### Create a new project folder ###
Copy folder to a new name: ```cp -r template-php my-new-php-app; cd my-new-php-app``` and remove the ```.git``` folder in it ```rm -rf .git -gitignore```
Copy folder to a new name: ```cp -r template-php my-new-php-app; cd my-new-php-app```
The initial file structure looks like this:
...
...
@@ -38,7 +40,7 @@ The initial file structure looks like this:
│ ├── readme.md
│ ├── vhost_app.conf
│ └── web-server-Dockerfile
├── public_html # your webroot for your data
├── public_html # your webroot for your project
│ └── index.php
└── readme.md
```
...
...
@@ -58,6 +60,7 @@ The initial file structure looks like this:
### First start ###
* start init script in the docker folder: ```./docker/init.sh```
* use "g" to remove git data of the starterkit
* use "i" for init ... it sets an ACL on the ./public_html/ subdir to allow write access for your current user and the apache user in the docker container
* use "t" to generate config files from templates with the settings from ./docker/init.sh.cfg
* use "u" to bring up the container (OR run ```docker-compose up -d``` )