wdmg / butterfly.cms
Butterfly.CMS
Installs: 666
Dependents: 0
Suggesters: 0
Security: 0
Stars: 18
Watchers: 2
Forks: 6
Open Issues: 1
Type:project
Requires
- php: >=5.6.0
- wdmg/yii2-activity: ^1.2.2
- wdmg/yii2-admin: ^1.4.6
- wdmg/yii2-amp: ^1.1.0
- wdmg/yii2-api: ^2.0.1
- wdmg/yii2-base: ^1.4.1
- wdmg/yii2-blog: ^1.3.0
- wdmg/yii2-bookmarks: ^1.0.0
- wdmg/yii2-comments: ^2.0.0
- wdmg/yii2-content: ^1.2.0
- wdmg/yii2-forms: ^1.2.0
- wdmg/yii2-geo: ^1.2.0
- wdmg/yii2-guard: ^1.3.0
- wdmg/yii2-helpers: ^1.5.0
- wdmg/yii2-mailer: ^1.4.0
- wdmg/yii2-media: ^2.0.1
- wdmg/yii2-menu: ^1.2.1
- wdmg/yii2-news: ^2.0.1
- wdmg/yii2-newsletters: ^2.0.0
- wdmg/yii2-options: ^1.7.0
- wdmg/yii2-pages: ^1.3.0
- wdmg/yii2-profiles: ^1.1.0
- wdmg/yii2-rbac: ^1.2.0
- wdmg/yii2-redirects: ^1.1.0
- wdmg/yii2-robots: ^1.1.0
- wdmg/yii2-rss: ^1.1.0
- wdmg/yii2-search: ^2.0.0
- wdmg/yii2-services: ^2.0.0
- wdmg/yii2-sitemap: ^1.2.0
- wdmg/yii2-stats: ^1.3.0
- wdmg/yii2-subscribers: ^2.0.0
- wdmg/yii2-tasks: ^1.2.0
- wdmg/yii2-terminal: ^1.3.1
- wdmg/yii2-tickets: ^1.2.0
- wdmg/yii2-translations: ^1.3.1
- wdmg/yii2-turbo: ^1.1.0
- wdmg/yii2-users: ^1.2.7
- wdmg/yii2-validators: ^1.1.0
- wdmg/yii2-views: ^1.1.0
- wdmg/yii2-widgets: ^1.1.0
- yiisoft/yii2: ~2.0.47
- yiisoft/yii2-bootstrap: ~2.0.0
- yiisoft/yii2-httpclient: ~2.0
- yiisoft/yii2-swiftmailer: ~2.0.0 || ~2.1.0
Requires (Dev)
- codeception/codeception: ^4.0
- codeception/module-asserts: ^1.0.0
- codeception/module-filesystem: ^1.0.0
- codeception/module-phpbrowser: ^1.0
- codeception/module-webdriver: ^1.1
- codeception/module-yii2: ^1.0.0
- codeception/specify: ~0.4.6
- codeception/verify: ~0.5.0 || ~1.1.0
- symfony/browser-kit: >=2.7 <=4.2.4
- wdmg/yii2-likes: ^0.0.12
- wdmg/yii2-messages: ^0.0.10
- wdmg/yii2-reposts: ^0.0.10
- wdmg/yii2-reviews: ^0.0.11
- wdmg/yii2-votes: ^0.0.10
- yiisoft/yii2-debug: ~2.1.0
- yiisoft/yii2-faker: ~2.0.0
- yiisoft/yii2-gii: ~2.1.0
README
Innovative Content Management System based on Yii2 framework. And it's all.
P/s^ A little patience...😉
Requirements
- PHP 5.6 or higher
- Yii2 v.2.0.47 and newest
- Yii2 Base
- Yii2 Admin
- Yii2 Activity
- Yii2 Api
- Yii2 Menu
- Yii2 Options
- Yii2 Guard
- Yii2 Mailer
- Yii2 Terminal
- Yii2 Redirects
- Yii2 Robots.txt
- Yii2 Stats
- Yii2 Forms
- Yii2 Services
- Yii2 News
- Yii2 Blog
- Yii2 Subscribers
- Yii2 Newsletters
- Yii2 Reviews*
- Yii2 Comments
- Yii2 Media
- Yii2 Content
- Yii2 Pages
- Yii2 Tasks
- Yii2 Tickets
- Yii2 Users
- Yii2 Rbac
- Yii2 Geo
- Yii2 Translations
- Yii2 Rss
- Yii2 Amp
- Yii2 Turbo
- Yii2 Sitemap
- Yii2 Search
- Yii2 Messages*
- Yii2 Likes*
- Yii2 Bookmarks*
- Yii2 Reposts*
- Yii2 Views
- Yii2 Votes*
* - actually in progress development
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 admin/options/init --choice=3
$ php yii admin/users/init --choice=3
$ php yii admin/rbac/init --choice=2
Demo
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
.
Docker
Run the script docker/docker-init.sh
or use manual instruction:
####Build containers:
$ docker-compose -f docker/docker-compose.yml -p example build
####Run containers:
$ docker-compose -f docker/docker-compose.yml -p example up -d www db phpmyadmin
####Stop services:
$ docker-compose -f docker/docker-compose.yml -p example stop
Discussion
For questions, complaints and suggestions follow to Butterfly.CMS community
Status and version [ready to use]
- v.1.3.1 - Update dependencies
- v.1.3.0 - Update dependencies, copyrights.
- v.1.2.1 - Update dependencies.
- v.1.2.0 - Add Docker and update dependencies.