Skip to content
This repository was archived by the owner on Feb 5, 2022. It is now read-only.

Commit 2c521d3

Browse files
authored
Merge pull request #350 from openforge/butter-api-key
Butter api key
2 parents 5052d15 + cffb4c9 commit 2c521d3

File tree

7 files changed

+13123
-6
lines changed

7 files changed

+13123
-6
lines changed

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,3 +25,4 @@ UserInterfaceState.xcuserstate
2525
.env
2626
linters/sass-lint.html
2727
src/pages/app-blog-post/prerender-blog-data.ts
28+
src/butter-api/butter-api-key.js

README.md

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -54,6 +54,23 @@ for file in src/assets/*.png; do cwebp -q 75 "$file" -o "${file%.png}.webp"; don
5454
for file in src/assets/*.jpeg; do cwebp -q 75 "$file" -o "${file%.jpeg}.webp"; done
5555
```
5656

57+
### Blog Setup
58+
By default, the public version of this project does not contain an API key for the [ButterCMS](https://buttercms.com/) blog content management system. You will need to add your own ButterCMS API key in order to make this project work.
59+
60+
If you have an API key for another ButterCMS blog that you would like to add to this project, use your text editor and open the file:
61+
```
62+
src/butter-api/butter-api-key.ts
63+
```
64+
65+
and enter your Butter API key between the single quotes '':
66+
```
67+
export const BUTTER_API_KEY = '';
68+
```
69+
to
70+
```
71+
export const BUTTER_API_KEY = 'your API token goes here';
72+
```
73+
5774
### Running This Application
5875
```
5976
npm run dev

0 commit comments

Comments
 (0)