You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
2. copy `/mysql/docker-entrypoint-initdb.d/createdb.sql.example` to `createdb.sql`, then edit this file (database, user) from `docker-compose.yml` section db (MYSQL_USER: username, MYSQL_PASSWORD: password, MYSQL_DATABASE: dbname)
66
+
3.`docker-compose build`
67
+
4.`docker-compose up -d`
68
+
5.`docker-compose exec php bash`, in terminal run `php init`, then run other migrations (see next)
69
+
6. open localhost:8100 to test
70
+
52
71
### Migrations
53
72
54
73
> **NOTE:** Make sure that you have properly configured `db` application component and run the following command
1. You need to create default domain `site.ru` and admin sub-domain `backend.site.ru`, for example. `.htaccess` for apache in `web` folder, or see next chapter `web server config`
66
-
2. Read docs of yii2-user module -https://github.com/dektrium/yii2-user/blob/master/docs/README.md
67
-
2.1. for example - URL of Login and Registration - https://github.com/dektrium/yii2-user/blob/master/docs/available-actions.md
68
-
2.2. Overriding models, views and controllers - also in docs!
69
-
2.3. Need RBAC? ok, https://github.com/dektrium/yii2-rbac
70
-
71
-
72
-
73
81
### Web server config
74
82
75
-
For newbies, I will recommend to read these instructions [yiisoft/yii2-app-advanced/start-installation.md](https://github.com/yiisoft/yii2-app-advanced/blob/master/docs/guide/start-installation.md) (apache, nginx, etc\hosts)
76
-
83
+
For newbies, I will recommend to read these instructions [yiisoft/yii2-app-advanced/start-installation.md](https://github.com/yiisoft/yii2-app-advanced/blob/master/docs/guide/start-installation.md) (apache, nginx, etc\hosts
0 commit comments