Skip to content

Commit 60ccd77

Browse files
committed
shorten .env
1 parent d927d37 commit 60ccd77

File tree

2 files changed

+6
-4
lines changed

2 files changed

+6
-4
lines changed

README.md

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,12 +11,12 @@ Run the following command from your project root:
1111
composer require thoughtco/statamic-eyris
1212
```
1313

14-
Add your Agency account token to the .env key `STATAMIC_EYRIS_ACCOUNT_TOKEN`
14+
Add your Agency account token to the .env key `EYRIS_TOKEN`
1515

1616
e.g.
1717

1818
```bash
19-
STATAMIC_EYRIS_ACCOUNT_TOKEN="my-token"
19+
EYRIS_TOKEN="my-token"
2020
```
2121

2222
You can also optionally publish the config:
@@ -46,3 +46,5 @@ If you want to return extra data to Eyris, you can hook into the update environm
4646
We provide an announcement widget to let you push announcements from the system to your site.
4747

4848
To enable it add `eyris-announcements` to `config/statamic/cp.php` under the 'widgets' key.
49+
50+
Note: this feature is only supported on Statamic v6+.

config/statamic-eyris.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<?php
22

33
return [
4-
'enabled' => env('STATAMIC_EYRIS_ENABLED', true),
4+
'enabled' => env('EYRIS_ENABLED', true),
55

6-
'account_token' => env('STATAMIC_EYRIS_ACCOUNT_TOKEN'),
6+
'account_token' => env('EYRIS_TOKEN'),
77
];

0 commit comments

Comments
 (0)