Added install script

This commit is contained in:
Eduard Urbach 2018-04-10 02:37:40 +02:00
parent 087b575a89
commit d3afdca800

13
install.sh Executable file
View File

@ -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"