GithubHelp home page GithubHelp logo

demo's Introduction

EASYSWOOLE DEMO

关于具体 demo 在哪

demo/3.x 分支对应了 EasySwoole 3.x 版本的 demo3.x 主要是 EasySwoole 基础使用的例子,其他使用请看 3.x 对应的分支。

如何运行 DEMO

安装项目时请不要覆盖默认的配置文件(dev.php / produce.php)以及 EasySwooleEvent 事件注册文件(EasySwooleEvent.php

安装 EasySwoole

git clone https://github.com/easy-swoole/demo.git
cd demo
git checkout 3.x
composer install
php vendor/easyswoole/easyswoole/bin/easyswoole install
composer dump-autoload

配置数据库

dev.php 中的 MYSQL 配置项中配置数据库

安装项目数据库

运行 /Doc/sql.sql 文件

启动项目

启动项目

php easyswoole server start

访问 url

管理员登陆: http://127.0.0.1:9501/Api/Admin/Auth/login?account=xsk&password=123456 
公共请求banner: http://127.0.0.1:9501/Api/Common/Banner/getAll
会员登陆: http://127.0.0.1:9501/Api/User/Auth/login?userAccount=xsk&userPassword=123456

请先认真阅读手册 再进行体验

  • EASYSWOOLE 在线手册

  • QQ 交流群

    • VIP 群 579434607 (本群需要付费599元)
    • EasySwoole 官方一群 633921431(已满)
    • EasySwoole 官方二群 709134628(已满)
    • EasySwoole 官方三群 932625047(已满)
    • EasySwoole 官方四群 779897753(已满)
    • EasySwoole 官方五群 853946743
  • 商业支持:

demo's People

Contributors

a2235565 avatar anythink-wx avatar chinasor avatar dupengshenyang avatar encircles avatar evalor avatar feng409 avatar guanhui07 avatar hanwenbo avatar hekuntong avatar jinchaojian avatar junjunya1995 avatar kajweb avatar kiss291323003 avatar landercy avatar lienze741 avatar maikuolan avatar mistaker avatar nicholaschan1025 avatar player626 avatar rongmic avatar runstp avatar sth4me avatar tioncico avatar tocurd avatar webphplove avatar windrunner414 avatar xuesilf avatar yaphats avatar

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.