modernkernel / yii2-skeleton
This package is abandoned and no longer maintained.
The author suggests using the powerkernel/yii2-skeleton package instead.
Yii 2 Skeleton Project Template
1.1.0
2018-04-03 12:18 UTC
Requires
- php: >=5.4.0
- codemix/yii2-localeurls: *
- conquer/select2: ~1.4.0
- himiklab/yii2-recaptcha-widget: *
- kotchuprik/yii2-sortable-widgets: *
- nirvana-msu/yii2-jsonld-helper: 1.0.*@dev
- omnilight/yii2-scheduling: *
- powerkernel/yii2-bootstrapsocial: *
- powerkernel/yii2-fineuploader: *
- powerkernel/yii2-jeditable: *
- powerkernel/yii2-photoswipe: *
- powerkernel/yii2-slugify: *
- powerkernel/yii2-theme-adminlte: *
- powerkernel/yii2-tinymce: *
- yiisoft/yii2: >=2.0
- yiisoft/yii2-authclient: ~2.1
- yiisoft/yii2-bootstrap: ~2.0
- yiisoft/yii2-jui: ~2.0
- yiisoft/yii2-swiftmailer: ~2.0
Requires (Dev)
- yiisoft/yii2-debug: ~2.0
- yiisoft/yii2-faker: ~2.0
- yiisoft/yii2-gii: ~2.0
README
Yii 2 Skeleton is a skeleton (based on Yii 2 App Advanced) application best for developing complex Web applications with multiple tiers.
The template includes 4 tiers: front end, back end, api and console, each of which is a separate Yii application.
The template is designed to work in a team development environment. It supports deploying the application in different environments.
Note: Yii 2 Skeleton only supports MongoDB
INSTALLATION
- Unzip repository, edit composer.json to suit your needs, then run
composer update
orcomposer update --prefer-source
- Run
init
, update your database information,baseUrl
in common/config/mail-local.php - Run
php yii mongodb-migrate --migrationPath=@console/migrations
- Run
php yii setup
- Go to frontend and sign up for new account, admin role will be auto assigned
- Go to backend and update all settings (reCaptcha, API, SMTP...)
- Generate icons from http://realfavicongenerator.net/, upload favicon.ico to the root of your web site (frontend and backend)
- (optional) update
gitHubPage
in common/config/params-local.php if you want to use github to host favicon and images.
Web server config
frontend/web => domain.com backend/web => backend.domain.com api/web => api.domain.com
Google Login Authorized redirect URIs
https://domain.com/account/auth?authclient=google https://backend.domain.com/account/login/google