update README.md

This commit is contained in:
Chenx221 2024-02-11 12:43:00 +08:00
parent fab67a308a
commit 0f7c48ef77
Signed by: chenx221
GPG Key ID: D7A9EC07024C3021

View File

@ -2,8 +2,7 @@
<a href="https://github.com/yiisoft" target="_blank"> <a href="https://github.com/yiisoft" target="_blank">
<img src="https://avatars0.githubusercontent.com/u/993323" height="100px"> <img src="https://avatars0.githubusercontent.com/u/993323" height="100px">
</a> </a>
<h1 align="center">Yii 2 Basic Project Template</h1> <h1 align="center">基于Yii 2框架的网盘系统</h1>
<br>
</p> </p>
Yii 2 Basic Project Template is a skeleton [Yii 2](https://www.yiiframework.com/) application best for Yii 2 Basic Project Template is a skeleton [Yii 2](https://www.yiiframework.com/) application best for
@ -13,10 +12,6 @@ The template contains the basic features including user login/logout and a conta
It includes all commonly used configurations that would allow you to focus on adding new It includes all commonly used configurations that would allow you to focus on adding new
features to your application. features to your application.
[![Latest Stable Version](https://img.shields.io/packagist/v/yiisoft/yii2-app-basic.svg)](https://packagist.org/packages/yiisoft/yii2-app-basic)
[![Total Downloads](https://img.shields.io/packagist/dt/yiisoft/yii2-app-basic.svg)](https://packagist.org/packages/yiisoft/yii2-app-basic)
[![build](https://github.com/yiisoft/yii2-app-basic/workflows/build/badge.svg)](https://github.com/yiisoft/yii2-app-basic/actions?query=workflow%3Abuild)
DIRECTORY STRUCTURE DIRECTORY STRUCTURE
------------------- -------------------
@ -37,7 +32,7 @@ DIRECTORY STRUCTURE
REQUIREMENTS REQUIREMENTS
------------ ------------
The minimum requirement by this project template that your Web server supports PHP 7.4. PHP >= 8.0
INSTALLATION INSTALLATION
@ -81,30 +76,6 @@ You can then access the application through the following URL:
http://localhost/basic/web/ http://localhost/basic/web/
~~~ ~~~
### Install with Docker
Update your vendor packages
docker-compose run --rm php composer update --prefer-dist
Run the installation triggers (creating cookie validation code)
docker-compose run --rm php composer install
Start the container
docker-compose up -d
You can then access the application through the following URL:
http://127.0.0.1:8000
**NOTES:**
- Minimum required Docker engine version `17.04` for development (see [Performance tuning for volume mounts](https://docs.docker.com/docker-for-mac/osxfs-caching/))
- The default configuration uses a host-volume in your home directory `.docker-composer` for composer caches
CONFIGURATION CONFIGURATION
------------- -------------