Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
8e624a1
commit 40c4d4e
Showing
50 changed files
with
11,527 additions
and
0 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 |
---|---|---|
@@ -1,2 +1,3 @@ | ||
keystore/ | ||
goplaxt | ||
goplaxt-docker |
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,9 @@ | ||
FROM iron/go | ||
WORKDIR /app | ||
RUN mkdir /app/keystore | ||
VOLUME /app/keystore/ | ||
ADD goplaxt-docker /app/ | ||
COPY static/ /app/static/ | ||
EXPOSE 8000 | ||
ENTRYPOINT ["./goplaxt-docker"] | ||
|
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 @@ | ||
#!/bin/bash | ||
|
||
# update dependencies | ||
#docker run --rm -it -v $PWD:/go/src/github.com/xanderstrike/goplaxt -w /go/src/github.com/xanderstrike/goplaxt treeder/glide update | ||
|
||
# build binary | ||
docker run --rm -v "$PWD":/go/src/github.com/xanderstrike/goplaxt -w /go/src/github.com/xanderstrike/goplaxt iron/go:dev go build -o goplaxt-docker | ||
|
||
# build docker image | ||
docker build -t xanderstrike/goplaxt . |
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
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,4 @@ | ||
package: github.com/xanderstrike/goplaxt | ||
import: | ||
- package: github.com/gorilla/mux | ||
- package: github.com/peterbourgon/diskv |
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
Oops, something went wrong.