diff --git a/README.md b/README.md index dfad489..2e844e2 100644 --- a/README.md +++ b/README.md @@ -95,10 +95,29 @@ php -S localhost:8080 -t public ./yii serve ``` -**Access your application** +**Start Apache or Nginx server** +```bash +# For Apache +docker-compose up -d + +# For Nginx +docker-compose -f docker-compose.nginx.yml up -d ``` + +### Access your application + +After starting the server, you can access your application in your web browser. + +```bash +# For built-in PHP server +http://localhost:8080/ + +# For Apache http://localhost:8080/ + +# For Nginx +http://localhost:8081/ ``` ### Basic usage @@ -112,6 +131,10 @@ root/ │ ├── console/ Console configuration │ ├── web/ Web configuration │ └── messages.php Translation config +├── docker/ Docker configuration files +│ ├── apache/ Apache configuration +│ ├── nginx/ Nginx configuration +│ └── php/ PHP configuration ├── src/ │ ├── framework/ Framework assets & resources │ │ ├── asset/ Asset bundles