Skip to content

Commit 202737c

Browse files
authored
fix: instructions to run locally (#188)
- I had to set `DB_USER` seperately for the DB migrations to run. - I had top copy over the `settings.yaml` file because it wasn't created by default.
1 parent 5f0fd2b commit 202737c

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

README.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -183,6 +183,7 @@ Set the following environment variables:
183183

184184
```
185185
DB_URI="postgresql://postgres:postgres@localhost:5432/nostr_ts_relay_test"
186+
DB_USER=postgres
186187
187188
or
188189
@@ -236,10 +237,11 @@ Run migrations (at least once and after pulling new changes):
236237
npm run db:migrate
237238
```
238239

239-
Create .nostr folder inside nostream project folder:
240+
Create .nostr folder inside nostream project folder and copy over the settings file:
240241

241242
```
242243
mkdir .nostr
244+
cp resources/default-settings.yaml .nostr/settings.yaml
243245
```
244246

245247
To start in development mode:

0 commit comments

Comments
 (0)