Add more info on running executables to README, fix compilation

This commit is contained in:
Felisp 2024-08-13 18:12:47 +02:00
parent 67f135a508
commit 3f2ba9edce
2 changed files with 7 additions and 2 deletions

View file

@ -87,9 +87,14 @@ options.
*** Prebuilt
Download newest release from [[https://git.treebrary.org/Treebrary.org/rss-thread-watcher/releases][releases]] and run them like you would any other java executable, default port is ~6969~
Download newest release from [[https://git.treebrary.org/Treebrary.org/rss-thread-watcher/releases][releases]] and run them like you would any other java executable (example bellow). There are two JARs,
first requires you to have Clojure installed (~rss-thread-watch-[version]~), second one doesn't (the one with ~standalone~ in
name).
~$ java -jar whatEverNameTheReleaseHas.jar~~
Default port is ~6969~ so either change it or allow it in your firewall. HTTPS is not supported, so using some reverse proxy like
Nginx could be the easiest solution for that.
*** From source
Not officially supported, if you'll attempt this, please, use source from release tarball or checkout ~release~ or ~stable~
branch. ~dev~ branch is unstable and untested, may not even build. ~stable~ branch should always build, may contain newer version

View file

@ -9,6 +9,6 @@
[clj-rss "0.4.0"]
[org.clojure/data.json "2.4.0"]
[org.clojure/tools.cli "1.1.230"]]
:main ^:skip-aot rss-thread-watch.core
:main rss-thread-watch.core
:target-path "target/%s"
:profiles {:uberjar {:aot :all}})