From d3afdca800a2256720467c97824e5d033f807f9c Mon Sep 17 00:00:00 2001 From: Eduard Urbach Date: Tue, 10 Apr 2018 02:37:40 +0200 Subject: [PATCH] Added install script --- install.sh | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100755 install.sh diff --git a/install.sh b/install.sh new file mode 100755 index 00000000..c3596ea8 --- /dev/null +++ b/install.sh @@ -0,0 +1,13 @@ +#!/bin/bash + +# Clone and build main repository +go get -v github.com/animenotifier/notify.moe/... +cd $GOPATH/src/github.com/animenotifier/notify.moe +make all + +# Database +git clone https://github.com/animenotifier/database ~/.aero/db/arn + +# Configure +make ports +sudo -- sh -c -e "echo '127.0.0.1 beta.notify.moe' >> /etc/hosts"