mirror of
https://github.com/Cameri/nostream.git
synced 2025-07-21 03:02:19 +02: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:
@ -183,6 +183,7 @@ Set the following environment variables:
|
|||||||
|
|
||||||
```
|
```
|
||||||
DB_URI="postgresql://postgres:postgres@localhost:5432/nostr_ts_relay_test"
|
DB_URI="postgresql://postgres:postgres@localhost:5432/nostr_ts_relay_test"
|
||||||
|
DB_USER=postgres
|
||||||
|
|
||||||
or
|
or
|
||||||
|
|
||||||
@ -236,10 +237,11 @@ Run migrations (at least once and after pulling new changes):
|
|||||||
npm run db:migrate
|
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
|
mkdir .nostr
|
||||||
|
cp resources/default-settings.yaml .nostr/settings.yaml
|
||||||
```
|
```
|
||||||
|
|
||||||
To start in development mode:
|
To start in development mode:
|
||||||
|
Reference in New Issue
Block a user