herroffizier / yii2-app
Custom Yii 2 application template with user authentication, backoffice, phing and vagrant intergration
0.1.2
2016-02-29 14:15 UTC
Requires
- php: >=5.4.0
- bower-asset/flat-ui: ~2.2.2
- fxp/composer-asset-plugin: ~1.1.2
- phing/phing: 2.*
- yiisoft/yii2: >=2.0.7
- yiisoft/yii2-bootstrap: *
- yiisoft/yii2-swiftmailer: *
Requires (Dev)
This package is not auto-updated.
Last update: 2024-11-09 19:19:24 UTC
README
This is customized Yii 2 Application Template with user authentication, backoffice, Phing and Vagrant integration. Created for personal use.
INSTALLATION
First step is to create project via Composer:
composer global require "fxp/composer-asset-plugin:~1.1.2"
composer create-project --prefer-dist herroffizier/yii2-app my-app
After that go to new project's directory and init project with built-in wizard. It will replace placeholders in various config files to actual values.
php yii project/init
After you asked all wizard's questions you are ready to run Vagrant. This command will download, configure and run virtual machine.
vagrant up
The final step is to apply db migrations. Run following commands:
vagrant ssh
cd /vagrant/
./vendor/bin/phing migrate