Skip to content

Commit 37eb011

Browse files
committed
wip
1 parent 0728f6b commit 37eb011

File tree

1 file changed

+14
-0
lines changed

1 file changed

+14
-0
lines changed

README.md

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -125,6 +125,20 @@ FATHOM_SITE_ID=
125125
FATHOM_TOKEN=
126126
```
127127

128+
### Unsplash (optional)
129+
130+
To make sure article and user header images get synced into the database we'll need to setup an access key from [Unsplash](https://unsplash.com/developers). Please note that your Unsplash app requires production access.
131+
132+
```
133+
UNSPLASH_ACCESS_KEY=
134+
```
135+
136+
After that you can add an Unsplash photo ID to any article row in the `hero_image_id` column and run the sync command to fetch the image url and author data:
137+
138+
```bash
139+
php artisan lio:sync-article-images
140+
```
141+
128142
## Commands
129143

130144
Command | Description

0 commit comments

Comments
 (0)