Code Monkey home page Code Monkey logo

hyperf-admin-demo's Introduction

hyperf-admin 的运行 demo

1. 一键启动

先确认 docker, docker-compose 已安装

git clone https://github.com/hyperf-admin/hyperf-admin-demo.git
cd hyperf-admin-demo 
docker-compose up

浏览器打开 http://127.0.0.1:8081/default/#/dashboard 即可访问

2. 无 docker 启动

git clone https://github.com/hyperf-admin/hyperf-admin-demo.git
cd hyperf-admin-demo/backend
composer i

然后将 docker/conf.d/hyperf-admin.conf 拷贝到本地 nginx 目录即可.

注意, 记得添加 server_name

hyperf-admin-demo's People

Contributors

daodao97 avatar itxiao6 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

hyperf-admin-demo's Issues

新生成了一个控制器 ,配置了路由,然后就这样??

2020-08-25 07:46:18||http.exception||ERROR||0||{"trace":"TypeError: Argument 1 passed to HyperfAdmin\BaseUtils\Scaffold\Controller\Controller::success() must be of the type array, null given, called in /Users/Documents/www/HYPERF/hyperf-admin-demo/backend/vendor/hyperf-admin/hyperf-admin/src/base-utils/src/Scaffold/Controller/AbstractController.php on line 118 and defined in /Users/Documents/www/HYPERF/hyperf-admin-demo/backend/vendor/hyperf-admin/hyperf-admin/src/base-utils/src/Scaffold/Controller/Controller.php:106

Interface 'Hyperf\Signal\SignalHandlerInterface' not found

请问下 我直接使用docker部署报这个错是什么原因呢
我看了文件目录确实是没有Signal组件
Interface 'Hyperf\Signal\SignalHandlerInterface' not found in /data/vendor/hyperf/process/src/Handler/ProcessStopHandler.php on line 17

不指定字段的时候会报错

'username|用户名' => [
'rule'=>'required|alpha_num|unique:hyperf_admin.member',
'props' => [
'size' => 'small',
'maxlength' => 20,
],
],

Unknown column '35_to_ignore' in 'where clause' 35 是 正在编辑的id

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.