double9/phycom-template
Composer 安装命令:
composer create-project double9/phycom-template
包简介
Phycom ecommerce platform template
README 文档
README
Ansible configuration for deployments
Add a target host to
ansible/hostsfileModify
ansible/group_vars/webservers/vars.ymlto suit your needsAdd host-specific configuration under
ansible/host_vars. It can be similar toansible/group_vars/webserversbut each host should have its subfolder named as host idStore all sensitive info encrypted by ansible vault
Phycom package management
If you want to update phycom package with ALL dependencies there is a shorthand script for this. The updater will run composer update inside docker container with --with-dependencies flag.
- To update all phycom packages execute
./pkg-update.pywith no arguments - To update specific package execute
./pkg-update.py <package-name>where package name is package you wan to update.
It is also possible to develop a package that is same time included with the project.
There is a script for this purpose that does not affect composer.json file.
It means you can easily push your changes to repository without having to comment out local dev package symlink params in composer.json file
You can create a configuration file symlink-packages.json to root path. There you can define packages that will be symlinked.
Example:
{
"double9/phycom": "/home/user/phycom"
}
Here the local directory /home/user/phycom will be symlinked to vendor/double9/phycom
To start the symlinking process execute ./pkg-symlink.py
统计信息
- 总下载量: 0
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 0
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: BSD-3-Clause
- 更新时间: 2020-08-09