garveen/imagist
Composer 安装命令:
composer create-project garveen/imagist
包简介
Image the packagist
README 文档
README
Image the packagist
Introduction
Due to the Internet connection may not so stable, you want to have a cached packagist for using composer.
Installation
Composer
composer create-project garveen/imagist imagist
Source
git clone https://github.com/garveen/imagist
Usage
-
Now you have a
publicdirectory in your site. You can set up a web server as usual, just by using thepublicas root. -
Set up a
crontabjob to update the packages.json:
# only dump packages.json
*/5 * * * * /path/to/imagist packages
# dump packages.json and all package index
*/5 * * * * /path/to/imagist dumpindex
# clone whole site
*/5 * * * * /path/to/imagist dumpall
Or you can dump all jsons by
imagist dumpall
After all, setup your project using
composer config [--global] repo.packagist composer https?://yourwebsite
Note
If you have NOT https server, you should use
composer config [--global] repo.packagist composer http://yourwebsite
composer config [--global] secure-http false
统计信息
- 总下载量: 42
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 40
- 点击次数: 1
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: GPL-2.0
- 更新时间: 2017-03-06