rabint/advanced-app
最新稳定版本:v1.1
Composer 安装命令:
composer create-project rabint/advanced-app
包简介
rabint Yii 2 advanced Project starter app
README 文档
README
Rabint Yii2 starter kit
پروژه کیت شروع به کار پروژه بر پایه فریمورک yii2 رابینت
how to install:
- download OR clone with git
https://github.com/rabint-lab/yii2-rabint-advanced-app.git
Or create with composer:
composer create-project rabint/advanced-app rabint-advanced-app
- composer install
php composer.phar install
-
set your env : copy
env.dist.phptoenv.phpand edit this file if you need. -
set db config in
_env/{your_env}.php -
go to app folder
$ cd app -
apply migrations :
$ php yii migrate -
apply migrations :
$ php yii rbac-migrate
login to admin
- goto login page : maybe
http://localhost/sample-app/login - login data:
| username | password |
|---|---|
| webmaster | secret_webmaster |
| manager | secret_manager |
| user | secret_user |
env customize per app
you can copy _env folder to app_folder/_env
include hierarchy:
1- app_folder/_env/env_file
2- _env/env_file
3- app_folder/_env/base_env.php
4- _env/base_env.php
migration generate
$ php yii migrate-generate/create [table_name]
###For other usefull commands see:
vendor/rabint/base/_doc/console_commands.md
统计信息
- 总下载量: 5
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 1
- 点击次数: 1
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2022-07-28