-
Notifications
You must be signed in to change notification settings - Fork 35
getting_started
- You will need Clojure and Leiningen.
- Edit the
project.cljfile. Find the:java-cmdline and change the path to your Java 17 implementation. You may be able to delete this line if you have java17 normally installed. - Deploy the BouncyCastle jar file to a local repository by executing
lein deploy local bcprov 1.7.1 jars/bcprov-jdk18on-171.jar - To run the tests:
lein spec - To run the tests with an auto-runner:
lein spec -a
The first step is to download the application. You can do that by cloning this repository, or you can download a standalone jar file from https://www.dropbox.com/s/8r23ufbcyho5jwx/more-speech-0.1.0-SNAPSHOT-standalone.jar?dl=0.
The next step is to run the application. If you cloned the repository, and you can do that with lein run. If you downloaded the jar file then just type java -jar more-speech-0.1.0-SNAPSHOT-standalone.jar.
The first time you run the application 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/user-configuration Configuration variables allowing you to control more-speech behavior.
- 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/migrationContains the migration level (version number) of the data files. Don't touch! -
private/messagesIs a directory containing daily message files. The lastNof these are read in bymore-speechon startup so thatNdays of messages are displayed in your tabs.Ndefaults to 10 but can be configured in themore-speech/configsource-file.