From 4038b7be292131f04a46ea32ccd455cea82cc3b4 Mon Sep 17 00:00:00 2001 From: Grishka Date: Wed, 26 May 2021 10:56:30 +0300 Subject: [PATCH] Bump version and update readme --- README.md | 7 ++++--- pom.xml | 2 +- 2 files changed, 5 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index a4fb7568..c98f2514 100644 --- a/README.md +++ b/README.md @@ -9,14 +9,15 @@ If you have any questions or feedback, there's a [Telegram chat](https://t.me/Sm ### Running directly on your server 1. Install and configure MySQL -2. Install maven if you don't have it already +2. Install maven and JDK >=15 if you don't have it already 3. Build the jar by running `mvn package` and place the one with dependencies at `/opt/smithereen/smithereen.jar` 4. Set up the native library ([libvips](https://github.com/libvips/libvips) and JNI bindings): pick a binary for your OS and CPU from [prebuilt ones](jniPrebuilt) or build your own 5. Install and configure [imgproxy](https://docs.imgproxy.net/#/GETTING_STARTED) 6. Fill in the config file, see a commented example [here](examples/config.properties) 7. Create a new MySQL database and initialize it with the [schema](schema.sql) using a command (`mysql -p smithereen < schema.sql`) or any GUI like phpMyAdmin -8. Run `java -jar /opt/smithereen/smithereen.jar /etc/smithereen/config.properties init_admin` to create the first account -9. Log into that account from your web browser, then configure the rest of the server settings from its UI +8. Configure and start the daemon: assuming your distribution uses systemd, copy [the service file](examples/smithereen.service) to /etc/systemd/system, then run `systemctl daemon-reload` and `service smithereen start` +9. Run `java -jar /opt/smithereen/smithereen.jar /etc/smithereen/config.properties init_admin` to create the first account +10. Log into that account from your web browser, then configure the rest of the server settings from its UI ### Using Docker diff --git a/pom.xml b/pom.xml index 13b14a06..0571b05b 100644 --- a/pom.xml +++ b/pom.xml @@ -10,7 +10,7 @@ me.grishka.smithereen server - 0.0.1-pre-alpha + 0.1