Skip to content

Commit

Permalink
增加apcu
Browse files Browse the repository at this point in the history
  • Loading branch information
letwang committed Mar 17, 2022
1 parent 3023193 commit 4323284
Show file tree
Hide file tree
Showing 769 changed files with 80,377 additions and 68,549 deletions.
514 changes: 514 additions & 0 deletions Dockerfile

Large diffs are not rendered by default.

16 changes: 11 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,13 +1,16 @@
[English](./README.md) | 中文

[![Latest Stable Version](https://poser.pugx.org/letwang/hookphp/v/stable)](https://packagist.org/packages/letwang/hookphp)
[![PHP Version](https://img.shields.io/badge/php-%3E%3D7.4-8892BF.svg)](http://www.php.net/)
[![PHP Version](https://img.shields.io/badge/php-%3E%3D8.1-8892BF.svg)](http://www.php.net/)
[![License](https://poser.pugx.org/letwang/hookphp/license)](https://packagist.org/packages/letwang/hookphp)

# HookPHP

[HookPHP是基于C扩展搭建内置AI编程的架构系统-支持微服务部署|热插拔业务组件-集成业务模型|权限模型|UI组件库|多模板|多平台|多域名|多终端|多语言-含常驻内存|前后分离|API平台|LUA](https://my.oschina.net/cart/blog/2986804)

![HookPHP演示](https://raw.githubusercontent.com/letwang/HookPHP/master/doc/images/1.png)
![HookPHP架构](https://raw.githubusercontent.com/letwang/HookPHP/master/doc/images/architecture.png)

## 安装

[https://github.com/letwang/HookPHP/wiki](https://github.com/letwang/HookPHP/wiki)
Expand All @@ -21,14 +24,10 @@

## 开发

- __[架构](https://github.com/letwang/HookPHP/blob/master/demo/architecture.png?raw=true)__
- __[演示](https://github.com/letwang/HookPHP/blob/master/demo/1.png?raw=true)__
- __[文档](https://github.com/letwang/HookPHP/wiki)__
- __[开发 平台](https://github.com/letwang/HookPHP/blob/master/app/)__
- __[开发 模块](https://github.com/letwang/HookPHP/blob/master/app/admin/modules/)__
- __[开发 插件](https://github.com/letwang/HookPHP/blob/master/app/admin/hooks/)__
- __[社区 QQ](https://github.com/letwang/HookPHP/blob/master/demo/qq.jpg?raw=true)__
- __[社区 知识星球](https://github.com/letwang/HookPHP/blob/master/demo/zsxq.png?raw=true)__

## 贡献

Expand All @@ -48,6 +47,13 @@

如果您看好HookPHP,请点击右上角的Star,让更多的人使用,一起腾飞!

<p align="center">
<img src="https://raw.githubusercontent.com/letwang/HookPHP/master/doc/images/alipay.jpg" width="45%" height="45%" alt="支付宝赞助" />
<img src="https://raw.githubusercontent.com/letwang/HookPHP/master/doc/images/wechat.jpg" width="45%" height="45%" alt="微信赞助" />
<img src="https://raw.githubusercontent.com/letwang/HookPHP/master/doc/images/qq.jpg" width="45%" height="45%" alt="HookPHP QQ社区" />
<img src="https://raw.githubusercontent.com/letwang/HookPHP/master/doc/images/zsxq.png" width="45%" height="45%" alt="HookPHP知识星球社区" />
</p>

## 协议

[Apache License Version 2.0](http://www.apache.org/licenses/LICENSE-2.0.html)
26 changes: 26 additions & 0 deletions Start
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
#!/bin/sh
sed -i 's/index.php$1/index.php?$1/' /etc/openresty/conf.d/hookphp.conf
service openresty start

service php8.1-fpm start

service redis-server start

service rabbitmq-server start
rabbitmq-plugins enable rabbitmq_management rabbitmq_shovel rabbitmq_shovel_management &&
rabbitmqctl add_user admin 123456 &&
rabbitmqctl set_user_tags admin administrator &&
rabbitmqctl set_permissions -p / admin '.*' '.*' '.*' &&
rabbitmqctl delete_user guest

mysqld --user=root &

mongod -f /etc/mongod.conf &

supervisord -c /etc/supervisord.conf

composer update

chmod 777 -R ./log

zsh
Loading

0 comments on commit 4323284

Please sign in to comment.