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.
This commit is contained in:
kiwiidb 2023-02-10 21:48:32 +01:00 committed by GitHub
parent 5f0fd2b9fd
commit 202737c7b8
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -183,6 +183,7 @@ Set the following environment variables:
```
DB_URI="postgresql://postgres:postgres@localhost:5432/nostr_ts_relay_test"
DB_USER=postgres
or
@ -236,10 +237,11 @@ Run migrations (at least once and after pulling new changes):
npm run db:migrate
```
Create .nostr folder inside nostream project folder:
Create .nostr folder inside nostream project folder and copy over the settings file:
```
mkdir .nostr
cp resources/default-settings.yaml .nostr/settings.yaml
```
To start in development mode: