penny/classic-app
Composer 安装命令:
composer create-project penny/classic-app
包简介
README 文档
README
This is a first penny implementation. It integrates league/plates and help you to build an HTML application.
Installation
$ composer create-project penny/classic-app -s dev
$ cd classic-app
$ npm install
$ grunt dev
Note:
bower and grunt require node.js this is only an example of method to manage static asset,
if you don't have familiarity with this tools no problem, you can use assetic,
download all static deps into the public dir or other solutions.
Built-in webserver
$ php -S 127.0.0.1:8080 -t public
it's ready! You can visit 127.0.0.1:8080.
Docker (NGINX/PHP-FPM)
Attention: This is a development environent due to how services are configured. If you want to use it in production you have to: disable error reporting, persist logs, raise limits and fine tune your configurations.
This repository contains a docker-compose.yml.dist file which currently configures two containers, one
with the NGINX webserver and one with php-fpm. This file must be renamed into docker-compose.yml and modified
if you need something specific for your system like paths, ip addresses, ports and so on. Remember that the docker-compose.yml file
is ignored since this is very specific to the current installation.
Requirements
- Docker >= 1.6.0
- docker-compose
Create your docker-compose.yml
$ cp docker/docker-compose.yml.development docker-compose.yml
# edit it for your specific needs
$ vi docker-compose.yml
Build
Before starting you have to build penny-classic specific images, to do it issue a:
$ docker-compose build
Up and running
$ docker-compose up -d
Endpoints
IP addresses can be configured in docker-compose.yml
- Application:
http://127.0.0.10
Know how
This skeleton application not resolve ALL your problems and it's not perfect, this is a starting point and implementation example. The penny's target is this! You are free to build your implementation, it made of experience and need.
penny/classic-app 适用场景与选型建议
penny/classic-app 是一款 基于 PHP 开发的 Composer 扩展包,目前已累计 45 次下载、GitHub Stars 达 5, 最近一次更新时间为 2015 年 09 月 04 日, 在 PHP 生态内属于活跃度较高的组件。
我们在过去多个企业项目中使用过 penny/classic-app 或与其功能相近的方案,如果你在选型或落地过程中遇到问题,例如 版本兼容、二次改造、私有化封装、与内部系统对接、生产 BUG 排查,欢迎联系我们协助评估。
基于 penny/classic-app 在你已有业务上做功能扩展、字段裁剪、UI 适配、与内部账号 / 权限 / 日志系统的深度对接。
线上偶发问题、内存泄漏、慢查询、并发异常等排查修复;针对高流量场景做缓存、队列、索引层面的调优。
承接完整的项目从需求 → 设计 → 开发 → 上线 → 长期运维;也可按月提供技术保姆服务。
统计信息
- 总下载量: 45
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 5
- 点击次数: 6
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: Unknown
- 更新时间: 2015-09-04