1
0
Fork 0
mirror of https://github.com/imjasonh/twitter-weather synced 2026-07-06 23:52:19 +00:00
twitter-weather/startup-script.bash

15 lines
295 B
Bash
Executable file

#!/bin/bash
# Install Go.
sudo rm -vf /var/lib/apt/lists/*
sudo apt-get update
sudo apt install -y golang-go || exit
# Clone the repo from GitHub.
git clone https://github.com/ImJasonH/twitter-weather
cd twitter-weather
# Run the script.
export GOPATH=~/gopath
go get -d ./...
go run main.go