Skip to content

Commit

Permalink
add install setup
Browse files Browse the repository at this point in the history
  • Loading branch information
daimakuai committed Nov 25, 2017
1 parent 1532024 commit 99dd59d
Showing 1 changed file with 50 additions and 0 deletions.
50 changes: 50 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,56 @@
</p>


目录结构
-------------------

app/ contains assets definition
config/ contains application configurations
controllers/ contains Web controller classes
tests/ contains various tests for the basic application
vendor/ contains dependent 3rd-party packages
resources/ contains view files for the Web application
public/ contains the entry script and Web resources

环境要求
------------

您的Web服务器支持的这个项目模板的最低要求 PHP 7.0.0.


安装方法
------------

### 首先安裝 Composer

如果沒有安裝 [Composer](http://getcomposer.org/), 您可以按照以下的说明安装它
[getcomposer.org](http://getcomposer.org/doc/00-intro.md#installation-nix).

然后您可以使用下面的命令来安装这个项目模板:

```
composer create-project --prefer-dist --stability=dev daimakuai/daimakuai-app-base
php artisan vendor:publish --provider="Jblv\Admin\AdminServiceProvider"
创建数据库,修改 .env 文件里的数据库配置
php artisan admin:install
php artisan serve
l浏览器打开 http://127.0.0.1:8000/admin ,使用用户名 `admin` 和密码 `admin`登陆.
```


DIRECTORY STRUCTURE
-------------------

Expand Down

0 comments on commit 99dd59d

Please sign in to comment.