File tree Expand file tree Collapse file tree 1 file changed +24
-1
lines changed Expand file tree Collapse file tree 1 file changed +24
-1
lines changed Original file line number Diff line number Diff line change @@ -95,10 +95,29 @@ php -S localhost:8080 -t public
9595./yii serve
9696```
9797
98- ** Access your application **
98+ ** Start Apache or Nginx server **
9999
100+ ``` bash
101+ # For Apache
102+ docker-compose up -d
103+
104+ # For Nginx
105+ docker-compose -f docker-compose.nginx.yml up -d
100106```
107+
108+ ### Access your application
109+
110+ After starting the server, you can access your application in your web browser.
111+
112+ ``` bash
113+ # For built-in PHP server
114+ http://localhost:8080/
115+
116+ # For Apache
101117http://localhost:8080/
118+
119+ # For Nginx
120+ http://localhost:8081/
102121```
103122
104123### Basic usage
@@ -112,6 +131,10 @@ root/
112131│ ├── console/ Console configuration
113132│ ├── web/ Web configuration
114133│ └── messages.php Translation config
134+ ├── docker/ Docker configuration files
135+ │ ├── apache/ Apache configuration
136+ │ ├── nginx/ Nginx configuration
137+ │ └── php/ PHP configuration
115138├── src/
116139│ ├── framework/ Framework assets & resources
117140│ │ ├── asset/ Asset bundles
You can’t perform that action at this time.
0 commit comments