Innovative Content Management System based on Yii2 framework. And it's all.
P/s^ A little patience...š
* - actually in progress development
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
After set of environment and configure db connection, run the following commands in the console for apply migrations:
$ php yii admin/init
$ php yii admin/options/init --choice=3
$ php yii admin/users/init --choice=3
$ php yii admin/rbac/init --choice=2
You can also initialize the test site with demo data using the command:
$ php yii hello/demo
After apply all migrations you may login to dashboard:
http://example.com/admin/ with username admin
and password admin
.
Run the script docker/docker-init.sh
or use manual instruction:
$ docker-compose -f docker/docker-compose.yml -p example build
$ docker-compose -f docker/docker-compose.yml -p example up -d www db phpmyadmin
$ docker-compose -f docker/docker-compose.yml -p example stop
For questions, complaints and suggestions follow to Butterfly.CMS community