romeoz/rock-app-basic 问题修复 & 功能扩展

解决BUG、新增功能、兼容多环境部署,快速响应你的开发需求

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

romeoz/rock-app-basic

最新稳定版本:0.10.5

Composer 安装命令:

composer require romeoz/rock-app-basic

包简介

Rock Basic Application

README 文档

README

Build Status HHVM Status Coverage Status License

Installation

From the Command Line:

composer require romeoz/rock-app-basic:*

In your composer.json:

{
    "require": {
        "romeoz/rock-app-basic": "*"
    }
}

If you want to create tables Users and RBAC, then run /path/to/apps/common/migrations/bootstrap.php.

Demo & Tests (one of two ways)

####1. Docker + Ansible

####2. VirtualBox + Vagrant + Ansible

Work/editing the project can be done via ssh:

vagrant ssh
cd /var/www/rock-basic

####Out of the box:

  • Ubuntu 14.04 64 bit

If you need to use 32 bit of Ubuntu, then uncomment config.vm.box_url the appropriate version in the file /path/to/Vagrantfile.

  • Nginx 1.8
  • PHP-FPM 5.6
  • MySQL 5.6
  • Composer

Requirements

  • PHP 5.4+
  • MySQL 5.5+

Configure server

For a single entry point.

####Apache

Security via "white list":

RewriteCond %{REQUEST_URI} ^\/(?!index\.php|robots\.txt|500\.html|favicon\.ico||assets\b\/.+\.(?:js|ts|css|ico|xml|swf|flv|pdf|xls|htc|gif|jpg|png|jpeg)$).*$ [NC]
RewriteRule ^.*$ index.php [L]

####Nginx

Security via "white list":

location ~ ^\/(?!index\.php|robots\.txt|favicon\.ico|500\.html|assets\b\/.+\.(?:js|ts|css|ico|xml|swf|flv|pdf|xls|htc|gif|jpg|png|jpeg)$).*$
{
    rewrite ^.*$ /index.php;
}

or optimal version (recommended Igor Sysoev)

License

Basic Application for Rock Framework is open-sourced software licensed under the MIT license.

统计信息

  • 总下载量: 11
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 1
  • 点击次数: 0
  • 依赖项目数: 0
  • 推荐数: 0

GitHub 信息

  • Stars: 1
  • Watchers: 1
  • Forks: 0
  • 开发语言: CSS

其他信息

  • 授权协议: MIT
  • 更新时间: 2015-03-13