ishanvyas22/cakephp-pingcrm

CakePHP PingCRM 示例应用程序,展示 Inertia.js 与 CakePHP 的结合使用。

v0.1.3 2020-11-14 14:24 UTC

This package is auto-updated.

Last update: 2024-09-26 04:48:40 UTC


README

一个示例应用程序,展示 Inertia.js 如何与 CakePHP 结合使用。

❤️ 支持开发

你喜欢这个项目吗?通过捐赠来支持它

Buy Me A Coffee

或者 通过 PayPal

或者 在 Codementor 上联系我

关注我

安装

  1. 在本地下载仓库

    通过 composer

    composer create-project ishanvyas22/cakephp-pingcrm

    或者

    通过克隆 git 仓库

    git clone git@github.com:ishanvyas22/cakephp-pingcrm.git
  2. 安装 PHP 依赖

    composer install
  3. 安装 NPM 依赖

    npm install
  4. 构建资源

    npm run dev

设置

  1. 创建 .env 文件

    cp config/.env.example config/.env
  2. 连接到数据库。创建一个你选择的数据库,并相应地更新你的配置。

    运行数据库迁移

    bin/cake migrations migrate

    运行数据库种子

    bin/cake migrations seed --seed=DatabaseSeed
  3. 运行开发服务器(输出将给出地址)

    bin/cake server

你已经准备好了!在你的浏览器中访问 CakePHP PingCRM,并使用以下凭据登录