From b380e96205abfba854501044a66e8e12a4b4f1ce Mon Sep 17 00:00:00 2001 From: Kelvin Ly Date: Sat, 22 Sep 2018 08:38:51 -0400 Subject: [PATCH] Add setup script --- install.sh | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 install.sh diff --git a/install.sh b/install.sh new file mode 100644 index 0000000..85bcbb7 --- /dev/null +++ b/install.sh @@ -0,0 +1,14 @@ +#!/bin/bash + +sudo add-apt-repository ppa:gophers/archive +sudo apt-get update +sudo apt-get install golang-1.10-go + +mkdir -p ~/go + +cat "export PATH=$PATH:/usr/lib/go-1.10/bin" >> ~/.bashrc +cat "export GOPATH=~/go" >> ~/.bashrc + +source ~/.bashrc +go get -u gopkg.in/russross/blackfriday.v2 +go get -u https://github.com/shurcooL/github_flavored_markdown