Skip to content

Commit

Permalink
Bump version and update readme
Browse files Browse the repository at this point in the history
  • Loading branch information
grishka committed May 26, 2021
1 parent 1d87338 commit 4038b7b
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 4 deletions.
7 changes: 4 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down
2 changes: 1 addition & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@

<groupId>me.grishka.smithereen</groupId>
<artifactId>server</artifactId>
<version>0.0.1-pre-alpha</version>
<version>0.1</version>
<build>
<plugins>

Expand Down

0 comments on commit 4038b7b

Please sign in to comment.