Skip to content

getting_started

Robert C. Martin edited this page Jul 20, 2022 · 34 revisions

Getting Started

  • Edit the project.clj file. Find the :java-cmd line and change the path to your Java 17 implementation. You may be able to delete this line if you have java17 normally installed.
  • To run the tests: lein spec
  • To run the tests with an auto-runner: lein spec -a

Setup

The first step is to run the application with lein run. It will do most of the setup for you. The main window will pop up, and if you click the all tab you'll see some messages. more-speech has generated a private and public key for you, and given you a temporary user name. I recommend you quit now and edit private/keys file to put a better name into your profile. If you like you can add the about and picture too. And if you already have public and private keys from some other source, you can replace the automatically generated ones.

There should now be several files in the private directory. You may wish to edit some of them.

  • private/keys Your personal profile. .
  • private/nicknames User nicknames. -- DEPRECATED --
  • private/profiles User profiles.
  • private/read-event-ids Ids of messages you've read.
  • private/relays The nostr relays you read from and write to.
  • private/tabs-list The tabs you want, and the filters they employ.
  • private/migration Contains the migration level (version number) of the data files. Don't touch!
  • private/messages Is a directory containing daily message files. The last N of these are read in by more-speech on startup so that you have a reasonable message history. N defaults to 10 but can be configured in the more-speech/config file.
Clone this wiki locally