wdmg/butterfly.cms

Butterfly.CMS on Yii2

1.0.8 2019-08-30 22:55 UTC

README

Butterfly.CMS

Innovative Content Management System based on Yii2 framework. And it's all.

P/s^ A little patience...😉

Progress Github all releases GitHub version Progress GitHub license

Requirements

Installation

To install the app, run the following command`s in the console:

$ composer create-project --prefer-dist wdmg/butterfly.cms example.com
$ cd example.com
$ php init

...or use automatic mode:

$ php init --env=development --overwrite=y --dbhost=localhost --dbtype=mysql --dbcharset=utf8 --dbname=example --tbprefix=btf_ --dbuser=root --dbpassword=root --create_db=y --migrations=y

Migrations

After set of environment and configure db connection, run the following commands in the console for apply migrations:

$ php yii admin/init
$ php yii users/init --choice=3
$ php yii rbac/init --choice=2

After apply all migrations you may login to dashboard: http://example.com/admin/ with username admin and password admin.

Status and version [in progress development]

  • v.1.0.8 - Added creation DB functionality to init console
  • v.1.0.7 - Update dependencies
  • v.1.0.6 - Update dependencies and fix config, init script
  • v.1.0.5 - Update README.md and fix base routing, tablePrefix in init script
  • v.1.0.4 - Added run migration's and table's prefix for init