Skip to content

Commit b559ffb

Browse files
authored
docs: Pre-load dotenv to load db env variables (#186)
1 parent 86e8818 commit b559ffb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -234,7 +234,7 @@ Install dependencies:
234234
Run migrations (at least once and after pulling new changes):
235235

236236
```
237-
npm run db:migrate
237+
NODE_OPTIONS="-r dotenv/config" npm run db:migrate
238238
```
239239

240240
Create .nostr folder inside nostream project folder and copy over the settings file:

0 commit comments

Comments
 (0)