NEWS: Welcome to my new homepage! <3

Updated README & build.gradle - poppy - A feature-rich Minecraft plugin which enhances gaming experience

poppy

A feature-rich Minecraft plugin which enhances gaming experience
git clone git://192.168.2.2/poppy
Log | Files | Refs | README

commit ff1fc2297fce64c5a3305c7b68c7fa79599d7bd6
parent a2904be26cbb91a692ae7a3140e1033d400d1dd9
Author: typable <typable.dev@gmail.com>
Date:   Sun, 18 Jul 2021 13:48:38 +0200

Updated README & build.gradle

Diffstat:
MREADME.md | 32++++++++++++++++++++++++++++++++
Mbuild.gradle | 4++--
2 files changed, 34 insertions(+), 2 deletions(-)

diff --git a/README.md b/README.md @@ -1 +1,32 @@ # MinecraftHub + +### Authentication + +```bash +ssh-keygen // no password +eval $(ssh-agent) +ssh-add ~/.ssh/id_rsa +scp ~/.ssh/id_rsa.pub <user>@<host>:~/.ssh/authorized_keys +``` + +More information: [Passwordless-SSH-Login](https://endjin.com/blog/2019/09/passwordless-ssh-from-windows-10-to-raspberry-pi) + +### Export as Jar File + +```bash +gradle build +``` + +### Transfer to Local Server + +Custom configuration required! + +```bash +gradle task local +``` + +### Transfer to Remote Server + +```bash +gradle task deploy +``` +\ No newline at end of file diff --git a/build.gradle b/build.gradle @@ -33,7 +33,7 @@ dependencies { remotes { server { host = 'mc.typable.dev' - user = 'pi' + user = 'ubuntu' identity = file('.env/id_rsa') } } @@ -42,7 +42,7 @@ task deploy { doLast { ssh.run { session(remotes.server) { - put from: project.file('build/libs/MinecraftHub.jar'), into: '/home/pi/host/plugins' + put from: project.file('build/libs/MinecraftHub.jar'), into: '/home/ubuntu/run/mc/plugins' } } }