-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Major update with refactoring of DB connects etc.
parse and score have had db connect refactored. Also parse has had rewrite of choosePGN function. Large tidy up of supplementary files: INIT_* now install docker and download relevant images run-* have been tidied and made single purpose for convenience. Deleted onld DEPLOY script as it was deprecated. Minor edits to db.chess.analysis that I forgot to add to last commit.
- Loading branch information
Nicholas Harding
committed
Mar 31, 2014
1 parent
d9200b6
commit 6a7ebda
Showing
13 changed files
with
75 additions
and
91 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
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
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
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
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,3 +1,2 @@ | ||
#!/bin/sh | ||
docker build -t parsepgn . | ||
echo Done docker image tagged parsepgn |
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
This file was deleted.
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,5 @@ | ||
#!/bin/sh | ||
# This is a simple bash script to run the parse container on a local CPU | ||
# - rm command kills as soon as complete. | ||
# PATH IS THE LOCATION ON THE HOST OF THE PGN FILES' | ||
docker run -d -t -v ${HOME}/pgn_data:/pgn:ro -v ${HOME}/chessDB:/data parsepgn $@ |
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 @@ | ||
#!/bin/sh | ||
# This is a simple bash script to run the parse container. | ||
# - rm command kills as soon as complete. | ||
# PATH IS THE LOCATION ON THE HOST OF THE PGN FILES | ||
HOSTPATH=/glusterfs/users/nharding/pgn_data | ||
docker run -d -t -v ${HOSTPATH}/pgn_data:/pgn:ro -v ${HOSTPATH}/chessDB:/data hardingnj/parsepgn $@ |
This file was deleted.
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,3 @@ | ||
#!/bin/sh | ||
# -t for tag? -i for interactive | ||
docker run -d -t -v ${HOME}/chessDB:/data scorepgn $@ |
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 @@ | ||
#!/bin/sh | ||
# -t for tag? -i for interactive | ||
export HOSTPATH=/glusterfs/users/nharding/ | ||
docker run -d -t -v ${HOSTPATH}/chessDB:/data hardingnj/scorepgn $@ |