Skip to content

Commit 30288f5

Browse files
authored
Update README.md
1 parent f96c17d commit 30288f5

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

README.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,8 +12,12 @@ Create a `.env` file in the project directory:
1212
NODE_ENV=development
1313
PORT=3000
1414
HACKERNEWS_API_URL=https://hacker-news.firebaseio.com/v0
15+
CACHE_DRIVER=memory
1516
```
1617

18+
_The `CACHE_DRIVER` variable can be either `memory` or `redis` - if `redis`, then a Redis service is assumed to be running._
19+
20+
1721
Then install the dependencies and run `start:dev`, which both builds the application using `esbuild` and runs it:
1822

1923
```bash

0 commit comments

Comments
 (0)