Skip to content

Document how to create settings.json #2

Closed

Description

@AtlantisPleb

The setup instructions don't mention the ~/.nostr/settings.json the app is looking for.

The caught error in createSettings returns default settings, but saveSettingsOnExit fails to do anything if it can't find the original settings file.

Unclear if the relay is working as expected without a settings.json file. How do we create one?

Activity

  1. cameri commented on Oct 15, 2022

    @cameri
    Owner

    I'll look into it. The relay works fine with the default settings if it can't create settings file.

  2. AtlantisPleb commented on Oct 15, 2022

    @AtlantisPleb
    Author

    And minor nit: My local postgres complained about the hyphens in nostr-ts-relay for DB name

  3. cameri commented on Oct 17, 2022

    @cameri
    Owner

    @ArcadeCityMayor Should have been fixed in #1

  4. self-assigned this
    on Oct 18, 2022
  5. cameri commented on Oct 19, 2022

    @cameri
    Owner

    Closing since this issue has been resolved. If not, please re-open.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

No labels
No labels

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions