質問するログイン新規登録

回答編集履歴

1

手順追加

2017/05/09 03:25

投稿

dohq
dohq

スコア232

answer CHANGED
@@ -2,4 +2,16 @@
2
2
  なので、gitで対象のレポジトリのみクローンしたのが原因です。
3
3
 
4
4
  https://github.com/google/battery-historian#building-from-source-code
5
- のとおりに行なうのが一番かと思われます
5
+ のとおりに行なうのが一番かと思われます
6
+
7
+ ```
8
+ $ go get -d -u github.com/google/battery-historian/...
9
+
10
+ $ cd %GOPATH%/src/github.com/google/battery-historian
11
+
12
+ # Compile Javascript files using the Closure compiler
13
+ $ go run setup.go
14
+
15
+ # Run Historian on your machine (make sure $PATH contains $GOBIN)
16
+ $ go run cmd/battery-historian/battery-historian.go [--port <default:9999>]
17
+ ```