mirror of
https://github.com/Cameri/nostream.git
synced 2025-03-17 21:31:48 +01:00
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:
parent
5f0fd2b9fd
commit
202737c7b8
@ -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:
|
||||
|
Loading…
x
Reference in New Issue
Block a user