【文件属性】:
文件名称:notifications
文件大小:614KB
文件格式:ZIP
更新时间:2021-03-13 08:15:30
PHP
平客户关系管理
一个演示应用程序,用于说明Inertia.js的工作方式。
安装
在本地克隆仓库:
git clone https://github.com/inertiajs/pingcrm.git pingcrm
cd pingcrm
安装PHP依赖项:
composer install
安装NPM依赖项:
npm ci
建立资产:
npm run dev
设置配置:
cp .env.example .env
生成应用程序密钥:
php artisan key:generate
创建一个SQLite数据库。 您还可以使用其他数据库(MySQL,Postgres),只需相应地更新您的配置即可。
touch database/database.sqlite
运行数据库迁移:
php artisan migrate
运行数据库播种器:
php artisan