From cf1edf72e85d1b140e40d977a5b2f35077fb640a Mon Sep 17 00:00:00 2001 From: Suraj Patil Date: Tue, 30 Aug 2016 21:04:59 +0530 Subject: [PATCH] deployement is now single click --- install.sh | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100644 install.sh diff --git a/install.sh b/install.sh new file mode 100644 index 0000000..700afd5 --- /dev/null +++ b/install.sh @@ -0,0 +1,9 @@ +echo "changing directory to Tasks" +cd $GOPATH/src/github.com/thewhitetulip/Tasks +echo "creating table" +cat schema.sql | sqlite3 tasks.db +echo "building the go binary" +go build -o Tasks + +echo "starting the binary" +./Tasks