Add instructions for using it as phar
This commit is contained in:
21
README.md
21
README.md
@@ -15,7 +15,26 @@ It's an alternative for the [official client](https://github.com/letsencrypt/let
|
|||||||
* PHP 5.5+
|
* PHP 5.5+
|
||||||
* Composer
|
* Composer
|
||||||
|
|
||||||
**Instructions**
|
**Instructions using the Phar**
|
||||||
|
|
||||||
|
```bash
|
||||||
|
# Go to https://github.com/kelunik/acme-client/releases/latest
|
||||||
|
# Download the latest release archive
|
||||||
|
|
||||||
|
# Run it.
|
||||||
|
chmod +x acme-client.phar
|
||||||
|
./acme-client.phar
|
||||||
|
|
||||||
|
# Or install it globally
|
||||||
|
mv ./acme-client.phar /usr/local/bin/acme-client
|
||||||
|
```
|
||||||
|
|
||||||
|
If you want to update, just replace the old phar with a new one.
|
||||||
|
|
||||||
|
All commands require an additional `--storage` argument when using the phar. That's the path where your keys and certificates will be stored.
|
||||||
|
On Unix you could use something like `--storage /etc/acme`.
|
||||||
|
|
||||||
|
**Instructions using Composer**
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
# Clone repository
|
# Clone repository
|
||||||
|
|||||||
@@ -23,7 +23,7 @@
|
|||||||
"require-dev": {
|
"require-dev": {
|
||||||
"phpunit/phpunit": "^5",
|
"phpunit/phpunit": "^5",
|
||||||
"fabpot/php-cs-fixer": "^1.9",
|
"fabpot/php-cs-fixer": "^1.9",
|
||||||
"macfja/phar-builder": "dev-master#bf48160bd6bdf702557ff213e6837710c1dbf572"
|
"macfja/phar-builder": "dev-master#a2db582eab26ef7b15144c013408749a79fae361"
|
||||||
},
|
},
|
||||||
"license": "MIT",
|
"license": "MIT",
|
||||||
"authors": [
|
"authors": [
|
||||||
|
|||||||
Reference in New Issue
Block a user