Skip to content

Commit 4813ad0

Browse files
committed
fix(docs): Update README.md for Nginx deployment details and badge links.
1 parent 34f2772 commit 4813ad0

File tree

1 file changed

+9
-32
lines changed

1 file changed

+9
-32
lines changed

README.md

Lines changed: 9 additions & 32 deletions
Original file line numberDiff line numberDiff line change
@@ -16,10 +16,10 @@
1616
<img src="https://img.shields.io/badge/22.0.x-0073AA.svg?style=for-the-badge&logo=yii&logoColor=white" alt="Yii 22.0.x">
1717
</a>
1818
<a href="https://github.com/yii2-extensions/app-basic/actions/workflows/build.yml" target="_blank">
19-
<img src="https://img.shields.io/github/actions/workflow/status/yii2-extensions/app-basic/build.yml?branch=main&style=for-the-badge&label=Codeception" alt="Codeception">
19+
<img src="https://img.shields.io/github/actions/workflow/status/yii2-extensions/app-basic/build.yml?branch=nginx&style=for-the-badge&label=Codeception" alt="Codeception">
2020
</a>
2121
<a href="https://github.com/yii2-extensions/app-basic/actions/workflows/static.yml" target="_blank">
22-
<img src="https://img.shields.io/github/actions/workflow/status/yii2-extensions/app-basic/static.yml?branch=main&style=for-the-badge&label=PHPStan" alt="PHPStan">
22+
<img src="https://img.shields.io/github/actions/workflow/status/yii2-extensions/app-basic/static.yml?branch=nginx&style=for-the-badge&label=PHPStan" alt="PHPStan">
2323
</a>
2424
</p>
2525

@@ -40,23 +40,6 @@ A modern, Bootstrap 5-powered Yii2 application template designed for rapid web-a
4040
-**Modern Bootstrap 5 UI** - Responsive, mobile-first design with latest Bootstrap components.
4141
-**Testing Ready** - Codeception test suite with examples for functional and unit testing.
4242

43-
## Available deployment options
44-
45-
### Traditional Web Servers
46-
47-
Classic request-per-process model; simple, widely supported (for example, Apache).
48-
49-
[![Apache](https://img.shields.io/badge/apache-%23D42029.svg?style=for-the-badge&logo=apache&logoColor=white)](https://github.com/yii2-extensions/app-basic/tree/apache)
50-
51-
### High-Performance Worker Mode
52-
53-
Long-running PHP workers for higher throughput and lower latency.
54-
55-
[![FrankenPHP](https://img.shields.io/badge/FrankenPHP-777BB4?style=for-the-badge&logo=php&logoColor=white)](https://github.com/yii2-extensions/app-basic/tree/franken-php)
56-
[![RoadRunner](https://img.shields.io/badge/RoadRunner-%23FF6B35.svg?style=for-the-badge&logo=data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMjQiIGhlaWdodD0iMjQiIHZpZXdCb3g9IjAgMCAyNCAyNCIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KPHBhdGggZD0iTTEyIDJMMjIgMTJMMTIgMjJMMiAxMkwxMiAyWiIgZmlsbD0iI0ZGRkZGRiIvPgo8cGF0aCBkPSJNOCAyTDE2IDEwTDggMThaIiBmaWxsPSIjRkY2QjM1Ii8+CjxwYXRoIGQ9Ik0xNiA2TDIwIDEwTDE2IDE0WiIgZmlsbD0iI0ZGNkIzNSIvPgo8L3N2Zz4K&logoColor=white)](https://github.com/yii2-extensions/app-basic/tree/road-runner)
57-
58-
> For setup instructions, see `README.md` in each branch.
59-
6043
## How it works
6144

6245
The Yii2 Web Application Basic template provides a complete foundation for building modern web applications. Unlike starting from scratch, this template includes.
@@ -78,23 +61,19 @@ The Yii2 Web Application Basic template provides a complete foundation for build
7861
### Installation
7962

8063
```bash
81-
composer create-project --prefer-dist yii2-extensions/app-basic:^0.1 app-basic
64+
composer create-project --prefer-dist yii2-extensions/app-basic:dev-nginx app-basic
8265
cd app-basic
8366
```
8467

8568
### Quick start
8669

87-
Start development server
70+
Start Nginx
8871

8972
```bash
90-
# Using built-in PHP server
91-
php -S localhost:8080 -t web
92-
93-
# Or using Yii console command
94-
./yii serve
73+
docker-compose up -d
9574
```
9675

97-
> Your application will be available at `http://localhost:8080` or at the address set in `--address` option.
76+
> Your application will be available at `https://localhost:8443`.
9877
9978
#### Directory structure
10079

@@ -153,15 +132,13 @@ final class SiteController extends Controller
153132

154133
## Package information
155134

156-
[![Latest Stable Version](https://img.shields.io/packagist/v/yii2-extensions/app-basic.svg?style=for-the-badge&logo=packagist&logoColor=white&label=Stable)](https://packagist.org/packages/yii2-extensions/app-basic)
157-
[![Total Downloads](https://img.shields.io/packagist/dt/yii2-extensions/app-basic.svg?style=for-the-badge&logo=packagist&logoColor=white&label=Downloads)](https://packagist.org/packages/yii2-extensions/app-basic)
158-
135+
[![Development Status](https://img.shields.io/badge/Status-Dev-orange.svg?style=for-the-badge&logo=packagist&logoColor=white)](https://github.com/yii2-extensions/app-basic/tree/nginx)
159136

160137
## Quality code
161138

162-
[![Codecov](https://img.shields.io/codecov/c/github/yii2-extensions/app-basic.svg?branch=main&style=for-the-badge&logo=codecov&logoColor=white&label=Coverage)](https://codecov.io/github/yii2-extensions/app-basic)
139+
[![Codecov](https://img.shields.io/codecov/c/github/yii2-extensions/app-basic.svg?branch=nginx&style=for-the-badge&logo=codecov&logoColor=white&label=Coverage)](https://codecov.io/github/yii2-extensions/app-basic)
163140
[![PHPStan Level Max](https://img.shields.io/badge/PHPStan-Level%20Max-4F5D95.svg?style=for-the-badge&logo=php&logoColor=white)](https://github.com/yii2-extensions/app-basic/actions/workflows/static.yml)
164-
[![StyleCI](https://img.shields.io/badge/StyleCI-Passed-44CC11.svg?style=for-the-badge&logo=styleci&logoColor=white)](https://github.styleci.io/repos/165419144?branch=main)
141+
[![StyleCI](https://img.shields.io/badge/StyleCI-Passed-44CC11.svg?style=for-the-badge&logo=styleci&logoColor=white)](https://github.styleci.io/repos/165419144?branch=nginx)
165142

166143
## Documentation
167144

0 commit comments

Comments
 (0)