Skip to content
Snippets Groups Projects
Commit 224c2d7f authored by Hahn Axel (hahn)'s avatar Hahn Axel (hahn)
Browse files

update docs

parent ddd6ba58
No related branches found
No related tags found
1 merge request!12show info if there is no database container; speedup replacements
# What problem does it solve?
## What problem does it solve?
I have a few php based projects with or without a database.
......@@ -15,6 +15,6 @@ The init script:
* opens a console
* 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.
## Requirements ##
## Requirements
It was tested on Linux only.
......
## 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:
......@@ -41,7 +41,7 @@ The initial file structure looks like this:
└── readme.md
```
### Edit variables and files ###
### Edit variables and files
* edit ```./docker/init.sh.cfg``` ... and edit
* ```APP_NAME=my_new_app```
......@@ -53,7 +53,7 @@ The initial file structure looks like this:
* edit php settings in ```./docker/templates/extra-php.ini```
* edit mysql settings in ```./docker/templates/my.cnf```
### First start ###
### First start
* start init script in the docker folder: ```./docker/init.sh```
* use `g` to remove git data of the starterkit
......@@ -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 `u` to bring up the container (OR run ```docker-compose up -d``` )
### Edit files ###
### Edit files
* If the container was started you can ...
* open in your browser http://localhost:8001 to access ```./public_html/```
* 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.
......
docs/images/main_menu.png

189 KiB | W: | H:

docs/images/main_menu.png

325 KiB | W: | H:

docs/images/main_menu.png
docs/images/main_menu.png
docs/images/main_menu.png
docs/images/main_menu.png
  • 2-up
  • Swipe
  • Onion skin
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment