weeworxx/shared-resources
Composer 安装命令:
composer require weeworxx/shared-resources
包简介
Shared Laravel module with modular support for User, Post, Comments, etc.
README 文档
README
Dump Your DB Structure (No Data)
####IMPORTANT: Please run this command in your root directory of your host working directory. Eg: ~/Sites/weeworxx:
ls -al
inside your directory should look like this:
- README.md
- /backend
- /docker
- docker-compose.yml
- etc...
docker-compose exec mysql \ mysqldump -uweeworx_user -pw33w0rxx123 \ --no-data --skip-comments --no-tablespaces weeworx \ > backend/shared-resources/src/TestCase/sqldumps/weeworx.sql
or
( docker-compose exec mysql \ mysqldump -uweeworx_user -pw33w0rxx123 \ --no-data --no-tablespaces --skip-comments weeworx \ | grep -v "mysqldump: \[Warning\] Using a password on the command line interface can be insecure." \ > backend/shared-resources/src/TestCase/sqldumps/weeworx.sql ) 2>/dev/null
In order to run your test suites:
docker-compose exec app /bash/sh cd ../shared-resources ./vendor/bin/phpunit
or if you want to test specific test file:
docker-compose exec app /bash/sh cd ../shared-resources ./vendor/bin/phpunit --filter=PostTest
统计信息
- 总下载量: 9
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 3
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2025-06-30