Update README.md
This commit is contained in:
parent
a828c3fbac
commit
c1f92a6253
21
README.md
21
README.md
|
@ -16,10 +16,10 @@ You will need a s3 bucket and the corresponding credentials.
|
||||||
```javascript
|
```javascript
|
||||||
|
|
||||||
let store = require('greenlock-storage-s3').create({
|
let store = require('greenlock-storage-s3').create({
|
||||||
accessKeyId: accessKeyId // Your accessKeyId
|
accessKeyId: accessKeyId // Replace with your accessKeyId
|
||||||
, secretAccessKey: secretAccessKey // Your secretAccessKey
|
, secretAccessKey: secretAccessKey // Replace with your secretAccessKey
|
||||||
, regionName: regionName // Your regionName
|
, regionName: regionName // Replace with your regionName
|
||||||
, bucketName: bucketName // Your bucketName
|
, bucketName: bucketName // Replace with your bucketName
|
||||||
, configDir: 'acme/' // Recommended
|
, configDir: 'acme/' // Recommended
|
||||||
, accountsDir: 'accounts/' // Recommended
|
, accountsDir: 'accounts/' // Recommended
|
||||||
, debug: true // Debug
|
, debug: true // Debug
|
||||||
|
@ -44,13 +44,16 @@ To run the tests yourself, create a `.env` file with the following
|
||||||
|
|
||||||
```
|
```
|
||||||
// .env file
|
// .env file
|
||||||
AWS_ACCESS_KEY_ID=abc // Your accessKeyId
|
AWS_ACCESS_KEY_ID=abc // Replace with your accessKeyId
|
||||||
AWS_SECRET_ACCESS_KEY=abc // Your secretAccessKey
|
AWS_SECRET_ACCESS_KEY=abc // Replace with your secretAccessKey
|
||||||
AWS_BUCKET_REGION=abc // Your regionName
|
AWS_BUCKET_REGION=abc // Replace with your regionName
|
||||||
AWS_BUCKET_NAME=abc // Your bucketName
|
AWS_BUCKET_NAME=abc // Replace with your bucketName
|
||||||
```
|
```
|
||||||
|
|
||||||
Run the following command: `npm run clean && npm run test && npm run clean`
|
Run the following command:
|
||||||
|
```console
|
||||||
|
$ npm run clean && npm run test && npm run clean
|
||||||
|
```
|
||||||
|
|
||||||
## License
|
## License
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue