update README.md
This commit is contained in:
parent
fab67a308a
commit
0f7c48ef77
33
README.md
33
README.md
@ -2,8 +2,7 @@
|
||||
<a href="https://github.com/yiisoft" target="_blank">
|
||||
<img src="https://avatars0.githubusercontent.com/u/993323" height="100px">
|
||||
</a>
|
||||
<h1 align="center">Yii 2 Basic Project Template</h1>
|
||||
<br>
|
||||
<h1 align="center">基于Yii 2框架的网盘系统</h1>
|
||||
</p>
|
||||
|
||||
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
|
||||
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
|
||||
-------------------
|
||||
|
||||
@ -37,7 +32,7 @@ DIRECTORY STRUCTURE
|
||||
REQUIREMENTS
|
||||
------------
|
||||
|
||||
The minimum requirement by this project template that your Web server supports PHP 7.4.
|
||||
PHP >= 8.0
|
||||
|
||||
|
||||
INSTALLATION
|
||||
@ -81,30 +76,6 @@ You can then access the application through the following URL:
|
||||
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
|
||||
-------------
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user