roymanoj/yii2-roys-dashboard
Composer 安装命令:
composer create-project roymanoj/yii2-roys-dashboard
包简介
Yii 2 Basic Project Template with Adminlte3 + Bootstrap4 + UserInterface
README 文档
README
Basic Dashboard with Yii2 & AdminLTE 3 along with User registration and login . Key layout to start any basic application
Installation
composer create-project roymanoj/yii2-roys-dashboard
then run
Composer Install
Setup config/db.php
return [
'class' => 'yii\db\Connection',
'dsn' => 'mysql:host=localhost;dbname=roys-dashboard',
'username' => 'root',
'password' => 'tipl',
'charset' => 'utf8',
// Schema cache options (for production environment)
//'enableSchemaCache' => true,
//'schemaCacheDuration' => 60,
//'schemaCache' => 'cache',
];
To migrate database
php yii2 migrate/up
To add Admin Account - On your browser
localhost/yii2-roys-dashboard/app/site/add-admin
Default usenemae : admin Password: admin (You can change it within the dashboard)
for Amzon S3 Credentials (components/Aws.php)
getclient for windows 10
public function getClient() {
$secret='your secret key generated from amazon account';
$key='key value of amazon ';
$s3Client = new S3Client([
// 'profile' => 'default',
'region' => 'ap-south-1',
'version' => 'latest',
'credentials' => [
'key' => $key,
'secret' => $secret,
]
}
getclient for ubuntu / linux
public function getClient() {
$s3Client = new S3Client([
'profile' => 'default',
'region' => 'ap-south-1',
'version' => 'latest',
// make sure your "credentials" files is in the .aws folder under root directory
}
统计信息
- 总下载量: 10
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 2
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: BSD-3-Clause
- 更新时间: 2021-03-15