-
Notifications
You must be signed in to change notification settings - Fork 17
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
total rewrite: better development, deployment, features, testing, eve…
…rything
- Loading branch information
Showing
49 changed files
with
1,916 additions
and
1,615 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
* | ||
!*.go | ||
!server/* |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
*.db | ||
gggtracker |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
language: go | ||
sudo: required | ||
services: | ||
- docker | ||
script: | ||
- make docker-image |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
FROM golang:alpine | ||
|
||
WORKDIR /go/src/github.com/ccbrown/gggtracker | ||
ADD . . | ||
|
||
RUN apk add --no-cache git && go get -t ./... | ||
RUN go vet . && go test -v ./... | ||
RUN go build . | ||
|
||
ENTRYPOINT ["gggtracker"] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
docker-image: | ||
docker build -t ccbrown/gggtracker . | ||
|
||
format: | ||
gofmt -s -w . | ||
|
||
pre-commit: format docker-image |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,19 @@ | ||
Welcome! | ||
======== | ||
# Welcome! [![Build Status](https://travis-ci.org/ccbrown/gggtracker.svg?branch=master)](https://travis-ci.org/ccbrown/gggtracker) | ||
|
||
This is the repository for <a href="http://gggtracker.com" target="_blank">gggtracker.com</a>. If there's something you think the site is missing, please either a.) open an issue to request the feature or b.) develop the feature yourself and put in a pull request. Pull requests should be written in the same style as the existing code base and any new features should be implemented in a way that's as concise and unintrusive as possible. | ||
This is the repository for <a href="https://gggtracker.com" target="_blank">gggtracker.com</a>. If there's something you think the site is missing, please either a.) open an issue to request the feature or b.) develop the feature yourself and put in a pull request. Pull requests should be written in the same style as the existing code base and any new features should be implemented in a way that's as concise and unintrusive as possible. Before creating any pull requests, please run `make pre-commit` to format and test your changes. | ||
|
||
### Running | ||
|
||
If you have Go installed, you can run the server like so: `go get ./... && go run main.go` | ||
|
||
Or if you just want to run a server using Docker: `docker run -it -p 8080:8080 ccbrown/gggtracker` | ||
|
||
Either method will make a local instance of the tracker available at http://127.0.0.1:8080 | ||
|
||
### License / Attribution | ||
|
||
This source is released under the MIT license (see the <i>LICENSE</i> file). | ||
|
||
Some images used under Creative Commons 3.0 from this project: https://github.com/Templarian/WindowsIcons | ||
|
||
This project is not affiliated with Grinding Gear Games. |
This file was deleted.
Oops, something went wrong.
Binary file not shown.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.