Skip to content

Commit d5597f9

Browse files
author
Alcides Ramos
committed
docs(README.md): simplify the up & running section
1 parent f3ab3c9 commit d5597f9

File tree

2 files changed

+12
-7
lines changed

2 files changed

+12
-7
lines changed

Makefile

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -256,3 +256,8 @@ open-supervisor: ## Application: open the supervisor website
256256
@xdg-open $(SUPERVISOR_URL)
257257
@$(call showAlert,"Press Ctrl+C to resume your session")
258258
$(call taskDone)
259+
260+
.PHONY: init
261+
init: build install-caddy-certificate ## Application: initializes the application
262+
$(call showInfo,"When ready just execute [ make open-website ] to visit the website with your preferred browser")
263+
$(call taskDone)

README.md

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -14,15 +14,15 @@
1414

1515
## Summary
1616

17-
This repository contains a _dockerized_ environment for building PHP applications based on **php:8.3.12-fpm-alpine** with Supervisor support.
17+
This repository contains a _dockerized_ environment for building PHP applications based on **php:8.3.12-fpm-alpine** with Supervisor.
1818

1919
### Highlights
2020

2121
- Unified environment to build <abbr title="Command Line Interface">CLI</abbr>, <u>web applications</u> and/or <u>micro-services</u> based on **PHP8**.
22-
- Allows you to create an optimized **development environment** Docker image
23-
- Allows you to create an optimized **production-ready** Docker image
24-
- Using **built-in PHP webserver**.
25-
- PHP-FPM and built-in webserver are managed by Supervisor.
22+
- Multi-stage Dockerfile to allows you to create an optimized **development** or **production-ready** Docker images
23+
- Uses the **built-in PHP webserver**.
24+
- PHP-FPM and built-in webserver are **managed by Supervisor**.
25+
- **Everything in one single Docker container**.
2626

2727

2828

@@ -95,7 +95,7 @@ $ mkdir -p ~/path/to/my-new-project && cd ~/path/to/my-new-project
9595
$ git clone [email protected]:alcidesrc/dockerized-php-supervisor.git .
9696
```
9797

98-
### In short
98+
### Quickstart
9999

100100
```bash
101101
$ make init
@@ -115,7 +115,7 @@ $ make build
115115
$ make up
116116
```
117117

118-
#### Accessing to Supervisor Status web panel
118+
#### Accessing to Supervisor admin panel
119119

120120
```bash
121121
$ make open-supervisor

0 commit comments

Comments
 (0)