|
3 | 3 | Yii2-app is Fast and Ready-to-production advanced project template. |
4 | 4 |
|
5 | 5 | Default, the template includes three tiers: `frontend`, `backend`, and `console`, each of which is a separate Yii application. |
| 6 | + |
6 | 7 | > **NOTE:** Template is in initial development. Anything may change at any time. |
7 | 8 |
|
| 9 | + |
8 | 10 | ## Features |
9 | | -* Admin template: [yiister/yii2-gentelella](https://github.com/yiister/yii2-gentelella), [Demo](https://colorlib.com/polygon/gentelella/) |
10 | | -* Yii2 User: [dektrium/yii2-user](https://github.com/dektrium/yii2-user) (login `adminus`, password `adminus`) |
| 11 | +* Admin template is beautiful and simple bootstrap, compatible with yii2 assets: [yiister/yii2-gentelella](https://github.com/yiister/yii2-gentelella), [Demo](https://colorlib.com/polygon/gentelella/) |
| 12 | +* Yii2 User is strong and proved user-module with many features: [dektrium/yii2-user](https://github.com/dektrium/yii2-user) (login `adminus`, password `adminus`) |
11 | 13 | * Frontend and Backend User Controllers are filtered (by `dektrium/yii2-user`) |
12 | | -* Redis cache (you may change to DB-cache, but dont forget apply migration) |
13 | | -* Yii2 queue (DB table `queue`) with backend (`/queuemanager/default/index`) using [ignatenkovnikita/yii2-queuemanager](https://github.com/ignatenkovnikita/yii2-queuemanager) |
14 | | -* Log DB Target with backend (`/log/index`) |
| 14 | +* Redis cache is really fast (you may change to DB-cache, but don't forget apply migration `yii migrate --migrationPath=@yii/log/migrations/`) |
| 15 | +* Yii2 queue (DB table `queue`), but you can use *Redis-queue* or other |
| 16 | +* Queue Manager with backend (`/queuemanager/default/index`) using [ignatenkovnikita/yii2-queuemanager](https://github.com/ignatenkovnikita/yii2-queuemanager) |
| 17 | +* Log DB Target with backend (`/log/index`) - simply view log messages |
| 18 | +* .htaccess - config for **pretty urls** (rewrite index.php), *may be later add nginx config* |
15 | 19 | * **UrlManagerFrontend** for backend app (all url rules in file `frontend/config/urls.php`, hostInfo in `common/config/params.php`) |
16 | 20 | * i18n translations in `common/messages` with config |
17 | 21 | * ContactForm in frontend app is improved: [himiklab/yii2-recaptcha-widget](https://github.com/himiklab/yii2-recaptcha-widget), |
18 | 22 | all email are saved to DB (`common/models/EmailForm` Model), optionally send message to Viber messenger via bot |
19 | | - (install requirements and config, uncomment code in Model) |
20 | | -* **postcss** config |
| 23 | + (install requirements [Bogdaan/viber-bot-php](https://github.com/Bogdaan/viber-bot-php) and config, uncomment code in Model) |
| 24 | +* **postcss** config (`frontend/web/src/pcss//*.css`) |
| 25 | +* Gii generator: added **yii2-queue**, may be later - [schmunk42/yii2-giiant](https://github.com/schmunk42/yii2-giiant) - really steroid, but in development with bugs |
21 | 26 |
|
22 | 27 |
|
23 | 28 | ## Available modules |
24 | 29 | These modules can be easy installed to Yii2-App using Composer: |
25 | 30 |
|
26 | 31 | * Yii2 Super Blog Module (semantic, seo): [akiraz2/yii2-blog](https://github.com/akiraz2/yii2-blog) |
27 | | -* Yii2 many web-statictic counters *(yandex, google, own db-counter)*: [akiraz2/yii2-stat](https://github.com/akiraz2/yii2-stat) |
| 32 | +* Yii2 many web-statictic counters (all-in-one) *(yandex, google, own db-counter)*: [akiraz2/yii2-stat](https://github.com/akiraz2/yii2-stat) |
28 | 33 | * yii2 opengraph component: [dragonjet/yii2-opengraph](https://github.com/dragonjet/yii2-opengraph) |
29 | 34 | * yii2 settings (db+cache): [yii2mod/yii2-settings](https://github.com/yii2mod/yii2-settings) |
30 | 35 | * etc... |
@@ -64,15 +69,12 @@ php yii message/extract common/messages/config.php |
64 | 69 |
|
65 | 70 | **POSTCSS** |
66 | 71 |
|
67 | | -``` |
68 | | -webstorm file-watcher |
69 | | -
|
70 | | -scope file[mites-site]:frontend/web/src/pcss//*.css |
71 | | -
|
72 | | -program C:\Users\user4957\AppData\Roaming\npm\postcss.cmd |
| 72 | +Add WebStorm file-watcher, postcss.config.js is ready for use |
| 73 | +> **NOTE:** Dont forget install nodejs :) and run command `npm install` |
| 74 | +1. scope file[mites-site]:frontend/web/src/pcss//*.css |
| 75 | +2. program C:\Users\user4957\AppData\Roaming\npm\postcss.cmd |
| 76 | +3. arguments $ContentRoot$\frontend\web\css\style.css --config $ContentRoot$\post.config.js |
73 | 77 |
|
74 | | -arguments $ContentRoot$\frontend\web\css\style.css --config $ContentRoot$\post.config.js |
75 | | -``` |
76 | 78 |
|
77 | 79 | ## Support |
78 | 80 |
|
|
0 commit comments