Skip to content

Commit

Permalink
readme
Browse files Browse the repository at this point in the history
  • Loading branch information
garveen committed Mar 7, 2017
1 parent cdc4a99 commit 9d6def7
Showing 1 changed file with 19 additions and 1 deletion.
20 changes: 19 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,14 @@ git clone https://github.com/garveen/imagist
2. Set up a `crontab` job to update the packages.json:

```
*/5 * * * * /path/to/imagist packages >/dev/null 2>&1
# 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
Expand All @@ -38,6 +45,17 @@ 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
```


0 comments on commit 9d6def7

Please sign in to comment.