Skip to content

brianchennn/Record-of-Softball-Game

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

35 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

棒壘球比賽紀錄系統

簡單的前端網頁,用來記錄棒壘球比賽的紀錄,並且可以將紀錄匯出成 CSV 檔案。

目前改為使用 Golang 開發 backend。

使用方法

  1. $ go run server.go # 若沒裝請參考 Go install 流程
  2. 打開此網站 (http://localhost:8080/RecordPage)
  3. 輸入每一個 play
  4. 按下 Export 來匯出結果

注意:資料存在 cookie 裡面,所以在記錄過程中請不要刪除 cookie。

Go install

  • Check go version:
go version
  • If another version of Go is installed, remove the existing version and install Go 1.17.8:
sudo rm -rf /usr/local/go
wget https://dl.google.com/go/go1.17.8.linux-amd64.tar.gz
sudo tar -C /usr/local -zxvf go1.17.8.linux-amd64.tar.gz
  • If Go is not installed on your system:
 wget https://dl.google.com/go/go1.17.8.linux-amd64.tar.gz
 sudo tar -C /usr/local -zxvf go1.17.8.linux-amd64.tar.gz
 mkdir -p ~/go/{bin,pkg,src}
 # The following assume that your shell is bash
 echo 'export GOPATH=$HOME/go' >> ~/.bashrc
 echo 'export GOROOT=/usr/local/go' >> ~/.bashrc
 echo 'export PATH=$PATH:$GOPATH/bin:$GOROOT/bin' >> ~/.bashrc
 echo 'export GO111MODULE=auto' >> ~/.bashrc
 source ~/.bashrc

Releases

No releases published

Packages

No packages published

Languages

  • HTML 45.1%
  • JavaScript 42.5%
  • CSS 9.8%
  • Go 2.6%