sopamo / clustercache
集群缓存
v0.2
2023-06-29 07:05 UTC
Requires
- php: ^8.0
Requires (Dev)
- orchestra/testbench: ^7.0
- dev-master
- v0.2
- dev-feature/refactor-broadcasting-updating-key
- dev-integration/multiple-hosts
- dev-feature/algorithm-to-get-data
- dev-feature/refactor-caching-hosts
- dev-feature/check-host-status-before-putting-cache
- dev-feature/lost-connection-between-hosts
- dev-dev
- dev-feature/host-communication-status
- dev-feature/2nd-container
- dev-feature/readme
- dev-feature/phpstan
- dev-feature/package
- dev-feature/implementation-for-single-host
- dev-feature/file-and-code-structure
- dev-feature/install-php-fpm
This package is auto-updated.
Last update: 2024-09-21 13:32:29 UTC
README
集群缓存
使用集群缓存加速您的应用程序安装和用法
请打开 package/README.md
以阅读有关包安装和用法的详细信息。
测试
如果您想运行测试,请按照以下说明操作。
- 克隆项目
- 进入项目-test文件夹
- 运行
cp .env.example .env
- 在 .env 文件中设置数据库用户名和密码
- 运行
docker run --rm -v "$(pwd)":/var/www/html -v "$(pwd)/../package":/var/www/package -w /opt composer bash -c "composer install"
- 运行
vendor/bin/sail up -d
- 运行
vendor/bin/sail shell
- 运行
php artisan key:generate
- 运行
php artisan migrate
- 运行
php artisan test