Add setup script

This commit is contained in:
Kelvin Ly 2018-09-22 08:38:51 -04:00
parent 4632042ba6
commit b380e96205
1 changed files with 14 additions and 0 deletions

14
install.sh Normal file
View File

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