geraldoandradee/yii-boilerplate
Composer 安装命令:
composer create-project geraldoandradee/yii-boilerplate
包简介
Yii Web Programming Framework Boilerplate
README 文档
README
This is my setup for PHP 5.6 projects. The guest machine is a Centos 6.5 really stable.
REQUIREMENTS
You need VirtualBox and Vagrant previously installed.
HOW TO RUN
Run command bellow:
vagrant up
An important detail is make your hosts file point to ip defined in Vagrantfile, so in your hosts:
192.168.33.25 yiiboilerplate.com
DATABASE
You can initialise your database putting your data in /manifests/database/setup.sql
MYSQL PASSWORD
The default root password for mysql is 'root'.
Directory structure
As you can see:
- application: Yii application itself
- manifests: configuration files for web application;
- www: public folder;
- vendor: generated by composer.
Advanced Use
You can change any file in manifests directory to change domain, database setup and so on. Just check it out.
What's next?
In future i want to create a vagrant box with more flexible installers not only for PHP 5.6 but also for other versions.
统计信息
- 总下载量: 20
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 0
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2016-02-07