Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
D
docker-php-starterkit
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Container registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
IML Open Source
docker-php-starterkit
Commits
224c2d7f
Commit
224c2d7f
authored
9 months ago
by
Hahn Axel (hahn)
Browse files
Options
Downloads
Patches
Plain Diff
update docs
parent
ddd6ba58
Branches
Branches containing commit
No related tags found
1 merge request
!12
show info if there is no database container; speedup replacements
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
docs/10_🤔_Why.md
+2
-2
2 additions, 2 deletions
docs/10_🤔_Why.md
docs/20_✅_Requirements.md
+1
-1
1 addition, 1 deletion
docs/20_✅_Requirements.md
docs/30_🪄_Init_a_new_project.md
+6
-6
6 additions, 6 deletions
docs/30_🪄_Init_a_new_project.md
docs/images/main_menu.png
+0
-0
0 additions, 0 deletions
docs/images/main_menu.png
with
9 additions
and
9 deletions
docs/10_🤔_Why.md
+
2
−
2
View file @
224c2d7f
# What problem does it solve?
#
# What problem does it solve?
I have a few php based projects with or without a database.
I have a few php based projects with or without a database.
...
@@ -15,6 +15,6 @@ The init script:
...
@@ -15,6 +15,6 @@ The init script:
*
opens a console
*
opens a console
*
starts php lint
*
starts php lint
# What problems does it not solve?
#
# What problems does it not solve?
It is a script for a dual container and Apache + PHP and (optional) Mariadb only for a local LAMP dev environment. Nothing else.
It is a script for a dual container and Apache + PHP and (optional) Mariadb only for a local LAMP dev environment. Nothing else.
This diff is collapsed.
Click to expand it.
docs/20_✅_Requirements.md
+
1
−
1
View file @
224c2d7f
## Requirements
##
## Requirements
It was tested on Linux only.
It was tested on Linux only.
...
...
This diff is collapsed.
Click to expand it.
docs/30_🪄_Init_a_new_project.md
+
6
−
6
View file @
224c2d7f
## How to use this template
##
## How to use this template
### Create a new project folder
###
### Create a new project folder
Copy downloaded and extracted folder to a new name:
Copy downloaded and extracted folder to a new name:
...
@@ -41,7 +41,7 @@ The initial file structure looks like this:
...
@@ -41,7 +41,7 @@ The initial file structure looks like this:
└── readme.md
└── readme.md
```
```
### Edit variables and files
###
### Edit variables and files
*
edit
```./docker/init.sh.cfg```
... and edit
*
edit
```./docker/init.sh.cfg```
... and edit
*
```APP_NAME=my_new_app```
*
```APP_NAME=my_new_app```
...
@@ -53,7 +53,7 @@ The initial file structure looks like this:
...
@@ -53,7 +53,7 @@ The initial file structure looks like this:
*
edit php settings in
```./docker/templates/extra-php.ini```
*
edit php settings in
```./docker/templates/extra-php.ini```
*
edit mysql settings in
```./docker/templates/my.cnf```
*
edit mysql settings in
```./docker/templates/my.cnf```
### First start
###
### First start
*
start init script in the docker folder:
```./docker/init.sh```
*
start init script in the docker folder:
```./docker/init.sh```
*
use
`g`
to remove git data of the starterkit
*
use
`g`
to remove git data of the starterkit
...
@@ -61,13 +61,13 @@ The initial file structure looks like this:
...
@@ -61,13 +61,13 @@ The initial file structure looks like this:
*
use
`t`
to generate config files from templates with the settings from ./docker/init.sh.cfg
*
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```
)
*
use
`u`
to bring up the container (OR run
```docker-compose up -d```
)
### Edit files
###
### Edit files
*
If the container was started you can ...
*
If the container was started you can ...
*
open in your browser http://localhost:8001 to access
```./public_html/```
*
open in your browser http://localhost:8001 to access
```./public_html/```
*
edit files with the IDE of your choice
*
edit files with the IDE of your choice
### Remarks
###
### Remarks
You can start ./docker/init.sh with a single letter in the interactive menu too, i.e.
```./docker/init.sh u```
to bring up the docker instance.
You can start ./docker/init.sh with a single letter in the interactive menu too, i.e.
```./docker/init.sh u```
to bring up the docker instance.
...
...
This diff is collapsed.
Click to expand it.
docs/images/main_menu.png
+
0
−
0
View replaced file @
ddd6ba58
View file @
224c2d7f
189 KiB
|
W:
|
H:
325 KiB
|
W:
|
H:
2-up
Swipe
Onion skin
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment