beyondit/opencart-project-template
Composer 安装命令:
composer create-project beyondit/opencart-project-template
包简介
Opencart Project Template for Development
README 文档
README
Getting Started
- Create a new project:
composer create-project beyondit/opencart-project-template ./my/project/folder -s dev - Copy the
.env.samplefile to.envand set the configuration parameters respectively - Run
bin/robo opencart:setupand afterwardsbin/robo opencart:runon command line (bin/robo opencart:run &to run in background) - Open
http://localhost:8000in your browser
Robo Commands
bin/robo opencart:setup: Install OpenCart with configuration set in.envfilebin/robo opencart:run: Run OpenCart on a php build-in web server on port 8000bin/robo project:deploy: Mirror contents of the src folder to the OpenCart test environmentbin/robo project:watch: Redeploy after changes inside the src/ folder or the composer.json filebin/robo project:package: Package abuild.ocmod.zipinside the target/ folder
Writing Tests
- Based on the OpenCart Testing Suite project tests can be written.
- After successful setup and deployment, tests can be executed by running the
bin/phpunitcommand. - Two examples inside the
/testsfolder are given, which can be executed as separat Testsuites bybin/phpunit --testsuite admin-testsorbin/phpunit --testsuite catalog-tests
统计信息
- 总下载量: 188
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 21
- 点击次数: 1
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: GPL-3.0
- 更新时间: 2016-06-01