Skip to content

Commit 1ddf2ca

Browse files
author
mike_jc
committed
Update Readme and fix composer.json
1 parent 9c6f233 commit 1ddf2ca

File tree

2 files changed

+11
-0
lines changed

2 files changed

+11
-0
lines changed

README.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,11 +9,19 @@ The workflow should be divided into the following independent steps:
99
## Installation
1010

1111
#### Via composer
12+
Run:
1213
```
1314
$ php composer require mike-jc/ImageBot
1415
```
16+
After that you can use any other bot command you want:
17+
```
18+
$ php vendor/bin schedule ./images
19+
$ php vendor/bin resize -n 10
20+
$ php vendor/bin upload
21+
```
1522

1623
#### Or as a Docker image
24+
Run the following commands:
1725
```
1826
$ mkdir sandbox && cd sandbox
1927
$ curl -sS https://raw.githubusercontent.com/mike-jc/ImageBot/master/Dockerfile > Dockerfile

composer.json

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,9 @@
2929
"": "src/"
3030
}
3131
},
32+
"bin": [
33+
"bin/bot"
34+
],
3235
"config": {
3336
"optimize-autoloader": true
3437
}

0 commit comments

Comments
 (0)